You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
proxysql/test/tap/tests
Rahim Kanji 47a6dfc6de
Added TAP test
7 months ago
..
aws_ssl_certs
client_host_err
load_data_local_datadir
reg_test_3223_scripts
reg_test_3838_scripts
reg_test_3847_node_datadir
test_cluster_sync_config
tokenizer_payloads Several updates for 'test_mysql_query_digests_stages-t.cpp' 11 months ago
.env Update .env 3 years ago
Makefile Added TAP test 8 months ago
README.md Added README 2 years ago
admin-listen_on_unix-t.cpp Fixed admin-listen_on_unix-t TAP test 1 year ago
admin_show_create_table-t.cpp fix mysql includes 2 years ago
admin_show_fields_from-t.cpp fix mysql includes 2 years ago
admin_show_table_status-t.cpp fix comparison 2 years ago
admin_various_commands-t.cpp Added SHOW PGSQL VARIABLES support 2 years ago
admin_various_commands2-t.cpp fix mysql includes 2 years ago
admin_various_commands3-t.cpp fix mysql includes 2 years ago
aurora.cpp More clean up of TAP Makefile and tests 3 years ago
basic-t.cpp
charset_unsigned_int-t.cpp use inludes from our deps intead of system 2 years ago
clickhouse_php_conn-t.php Merge pull request #4304 from sysown/v2.6.0-tap_test_fixes 3 years ago
config.json
envvars-t.cpp cleanups 3 years ago
envvars-t.env add per folder and per test env file loading to TAP tests 3 years ago
firewall_commands1-t.cpp fix mysql includes 2 years ago
galera_1-sim
galera_1_timeout_count.cpp Removed Query_Cache from galera_1_timeout_count.cpp 1 year ago
galera_2-sim
galera_2_timeout_no_count.cpp Fixed galera build compilation 1 year ago
generate_set_session_csv.cpp Fix 'set_testing-240-t' issues with recent MariaDB versions 1 year ago
kill_connection-t.cpp use inludes from our deps intead of system 2 years ago
kill_connection2-t.cpp use inludes from our deps intead of system 2 years ago
kill_connection3-t.cpp Increase sleep time in kill_connection3-t 2 years ago
max_connections_ff-t.cpp Add default timestamps for TAP library (diag/ok) 2 years ago
modules_server_test.h
multiple_prepared_statements-t.cpp Changes done: 1 year ago
mysql-fast_forward-t.cpp Several enhancements for TAP tests compilation 2 years ago
mysql-init_connect-1-t.cpp Changes done: 1 year ago
mysql-init_connect-2-t.cpp Changes done: 1 year ago
mysql-last_insert_id-t.cpp Changes done: 1 year ago
mysql-mirror1-t.cpp use inludes from our deps intead of system 2 years ago
mysql-protocol_compression_level-t.cpp Complete redesign of 'mysql-protocol_compression_level-t.cpp' 1 year ago
mysql-reg_test_4707_threshold_resultset_size-t.cpp Added TAP test for MySQL 1 year ago
mysql-reg_test_4716_single_semicolon-t.cpp Added TAP test for MySQL 1 year ago
mysql-reg_test_4723_query_cache_stores_empty_result-t.cpp Added TAP test mysql-reg_test_4723_query_cache_stores_empty_result 1 year ago
mysql-reg_test_4867_query_rules-t.cpp Replaced last_insert_rowid() with MAX(...) because last_insert_rowid() is specific to a database connection, and random modifications are performed by monitoring thread 11 months ago
mysql-set_transaction-t.cpp use inludes from our deps intead of system 2 years ago
mysql-sql_log_bin-error-t.cpp use inludes from our deps intead of system 2 years ago
mysql-test_malformed_packet-t.cpp Enshuring ProxySQL's stability when subjected to malformed packets 1 year ago
mysql-test_ssl_CA-t.cpp Changes done: 1 year ago
mysql-watchdog_test-t.cpp Add Watchdog PROXYSQLTEST covering MySQL and PgSQL threads 8 months ago
mysql_hostgroup_attributes-servers_defaults-t.cpp Several fixes for 'test_query_rules_fast_routing_algorithm-t.cpp' 1 year ago
mysql_hostgroup_attributes_config_file-t.cpp Changed the tables values based on actual docker config file. 1 year ago
mysql_query_logging_memory-t.cpp Remove hardcoded values in mysql_query_logging_memory-t 12 months ago
mysql_reconnect.cpp Fix usage of tests deps MySQL connector for some tests 2 years ago
mysql_stmt_send_long_data-t.cpp use inludes from our deps intead of system 2 years ago
mysql_stmt_send_long_data_large-t.cpp use inludes from our deps intead of system 2 years ago
pg_lite_client.cpp Added support for protocol level parameter type 8 months ago
pg_lite_client.h Added support for protocol level parameter type 8 months ago
pgsql-basic_tests-t.cpp TAP test now checks multi-statement 2 years ago
pgsql-connection_parameters_test-t.cpp Added regression test 11 months ago
pgsql-copy_from_stdin_session_parameter-t.cpp Fixed TAP test 1 year ago
pgsql-copy_from_test-t.cpp Fixed TAP test 1 year ago
pgsql-copy_to_test-t.cpp Fixed TAP test 1 year ago
pgsql-extended_query_protocol_query_rules_test-t.cpp Added TAP test 7 months ago
pgsql-extended_query_protocol_test-t.cpp Updated TAP test 7 months ago
pgsql-multiplex_status_test-t.cpp TAP: Use correct pgsql username and password 7 months ago
pgsql-notice_test-t.cpp Added TAP test 1 year ago
pgsql-query_cache_soft_ttl_pct-t.cpp Merge branch 'v3.0' 1 year ago
pgsql-query_cache_test-t.cpp Added notice test 1 year ago
pgsql-reg_test_4707_threshold_resultset_size-t.cpp Increased threshold value in case no backend connections are available in the connection pool and a new connection is established 1 year ago
pgsql-reg_test_4716_single_semicolon-t.cpp Fixed TAP test 1 year ago
pgsql-reg_test_4867_query_rules-t.cpp Added TAP test (PGSQL) 1 year ago
pgsql-set_parameter_validation_test-t.cpp Fixed permission issue 1 year ago
pgsql-transaction_variable_state_tracking-t.cpp Improved TAP test logging 10 months ago
pgsql-unsupported_feature_test-t.cpp Extended Query is now a supported feature 8 months ago
pgsql-watchdog_test-t.cpp Add Watchdog PROXYSQLTEST covering MySQL and PgSQL threads 8 months ago
prepare_statement_err3024-t.cpp Several enhancements for TAP tests compilation 2 years ago
proxysql_reference_select_config_file.cnf Added MySQL compression level 1 year ago
reg_test_1493-mixed_compression-t.cpp fix mysql includes 2 years ago
reg_test_1574-mariadb_read_stmt_execute_response-t.cpp use inludes from our deps intead of system 2 years ago
reg_test_1574-stmt_metadata-t.cpp use inludes from our deps intead of system 2 years ago
reg_test_2793-compression-t.cpp fix mysql includes 2 years ago
reg_test_3184-set_wait_timeout-t.cpp use inludes from our deps intead of system 2 years ago
reg_test_3223-restapi_return_codes-t.cpp Add default timestamps for TAP library (diag/ok) 2 years ago
reg_test_3247-mycli_support-t.cpp Several enhancements for TAP tests compilation 2 years ago
reg_test_3273_ssl_con-t.cpp Change default behavior for test utils 'get_proxysql_cpu_usage' 1 year ago
reg_test_3317-lock_hostgroup_special_queries-t.cpp use inludes from our deps intead of system 2 years ago
reg_test_3327-process_query_set_status_flags-t.cpp use inludes from our deps intead of system 2 years ago
reg_test_3371_prepared_statement_crash-t.cpp Updated TAP test to use cl.host instead of cl.mysql_host 2 years ago
reg_test_3427-stmt_first_comment1-param-t.cpp revert broken symlinks 2 years ago
reg_test_3427-stmt_first_comment1-t.cpp Merge remote-tracking branch 'Master/v2.x' into v2.x_unified_makefile_fixes 2 years ago
reg_test_3427-stmt_first_comment2-param-t.cpp revert broken symlinks 2 years ago
reg_test_3427-stmt_first_comment2-t.cpp revert broken symlinks 2 years ago
reg_test_3434-text_stmt_mix-t.cpp Changes done: 1 year ago
reg_test_3493-USE_with_comment-t.cpp use inludes from our deps intead of system 2 years ago
reg_test_3504-change_user-t.cpp Several improvements for 'reg_test_3504-change_user-t' 2 years ago
reg_test_3504-change_user_helper.cpp Several improvements for 'reg_test_3504-change_user-t' 2 years ago
reg_test_3546-stmt_empty_params-t.cpp fix mysql includes 2 years ago
reg_test_3549-autocommit_tracking-t.cpp use inludes from our deps intead of system 2 years ago
reg_test_3585-stmt_metadata-t.cpp use inludes from our deps intead of system 2 years ago
reg_test_3591-restapi_num_fds-t.cpp use inludes from our deps intead of system 2 years ago
reg_test_3603-stmt_metadata-t.cpp use inludes from our deps intead of system 2 years ago
reg_test_3606-mysql_warnings-t.cpp Several enhancements for TAP tests compilation 2 years ago
reg_test_3625-sqlite3_session_client_error_limit-t.cpp Merge branch 'v2.x' into v2.x_sha2pass_draft3 2 years ago
reg_test_3690-admin_large_pkts-t.cpp use inludes from our deps intead of system 2 years ago
reg_test_3765_ssl_pollout-t.cpp Change default behavior for test utils 'get_proxysql_cpu_usage' 1 year ago
reg_test_3838-restapi_eintr-t.cpp fix mysql includes 2 years ago
reg_test_3847_admin_lock-t.cpp fix mysql includes 2 years ago
reg_test_3992_fast_forward_malformed_packet-mysqlsh-t.cpp use inludes from our deps intead of system 2 years ago
reg_test_3992_fast_forward_malformed_packet-pymysql-t.py
reg_test_3992_fast_forward_malformed_packet-t.cpp use inludes from our deps intead of system 2 years ago
reg_test_4001-restapi_scripts_num_fds-t.cpp use inludes from our deps intead of system 2 years ago
reg_test_4055_restapi-t.cpp
reg_test_4072-show-warnings-t.cpp fix assigment result comparison 2 years ago
reg_test_4158_change_user-t.cpp fix comparison 2 years ago
reg_test_4264-commit_rollback-t.cpp fix mysql includes 2 years ago
reg_test_4300-dollar_quote_check-t.cpp fix mysql includes 2 years ago
reg_test_4399-stats_mysql_query_digest-t.cpp Added regression test 2 years ago
reg_test_4402-mysql_fields-t.cpp Fix potential invalid syntax in TAP test queries 1 year ago
reg_test_4556-ssl_error_queue-t.cpp Add reg test for frontend/backend conns SSL errors 2 years ago
reg_test_4556-ssl_error_queue-t.env Add reg test for frontend/backend conns SSL errors 2 years ago
reg_test_4935-caching_sha2-t.cpp Add test verifying handshake info is preserved across auth methods 10 months ago
reg_test_4935-caching_sha2-t.env Add test verifying handshake info is preserved across auth methods 10 months ago
reg_test__ssl_client_busy_wait-t.cpp Change default behavior for test utils 'get_proxysql_cpu_usage' 1 year ago
reg_test_compression_split_packets-t.cpp fix connection strings and related 3 years ago
reg_test_fast_forward_split_packet-t.cpp Several enhancements for TAP tests compilation 2 years ago
reg_test_mariadb_metadata_check-t.cpp Add regression test for 'column-count' integrity check in 'libmariadbclient' 1 year ago
reg_test_mariadb_stmt_store_result-t.cpp Several enhancements for TAP tests compilation 2 years ago
reg_test_sql_calc_found_rows-t.cpp Add default timestamps for TAP library (diag/ok) 2 years ago
reg_test_stmt_resultset_err_no_rows-t.cpp fix mysql includes 2 years ago
reg_test_stmt_resultset_err_no_rows.php
reg_test_stmt_resultset_err_no_rows_php-t.cpp fix mysql includes 2 years ago
repro_3404-mysql_close_fd_leak.cpp use inludes from our deps intead of system 2 years ago
repro_test_leak_3350.cpp use inludes from our deps intead of system 2 years ago
repro_test_leak_3525.cpp use inludes from our deps intead of system 2 years ago
savepoint-948-t.cpp use inludes from our deps intead of system 2 years ago
savepoint-3749-t.cpp Changes done: 1 year ago
set_character_set-t.cpp Fix 'plan' test count for 'set_character_set-t' 1 year ago
set_testing-240-t.cpp Fix 'set_testing-240-t' issues with recent MariaDB versions 1 year ago
set_testing-240.h Changes done: 1 year ago
set_testing-multi-t.cpp Several enhancements for TAP tests compilation 2 years ago
set_testing-t.cpp use inludes from our deps intead of system 2 years ago
set_testing-t.csv Revert "remove generated files" 2 years ago
set_testing-t.csv.obsolete Revert "remove generated files" 2 years ago
set_testing.h Changes done: 1 year ago
setparser_test-t.cpp
setparser_test.cpp Updated TAP tests with new SET statement parser 1 year ago
setparser_test2.cpp Updated TAP tests with new SET statement parser 1 year ago
setparser_test3.cpp Updated TAP tests with new SET statement parser 1 year ago
setparser_test_common.h Updated TAP tests with new SET statement parser 1 year ago
sqlite3-t.cpp use inludes from our deps intead of system 2 years ago
sqlite_autocommit-t.cpp use inludes from our deps intead of system 2 years ago
stmt_explain-t.cpp Updated TAP test to use cl.host instead of cl.mysql_host 2 years ago
test_PROXY_Protocol-t.cpp Implementation of PROXY protocol V1 2 years ago
test_admin_prometheus_metrics_dump-t_disabled_gh3571.cpp fix mysql includes 2 years ago
test_admin_stats-t.cpp fix mysql includes 2 years ago
test_auth_methods-t.cpp Extract auth testing utils from 'test_auth_methods-t.cpp' 10 months ago
test_auth_methods-t.env Fix env vars support for 'test_auth_methods-t' 2 years ago
test_auto_increment_delay_multiplex-t.cpp Add default timestamps for TAP library (diag/ok) 2 years ago
test_backend_conn_ping-t.cpp Increase tolerances in 'test_backend_conn_ping-t' 1 year ago
test_binlog_fast_forward-t.cpp Fix flags on conn creation for 'test_binlog_fast_forward-t' 11 months ago
test_binlog_reader-t.cpp use local includes - json 2 years ago
test_binlog_reader_uses_previous_hostgroup-t.cpp Refactor several TAP tests utilities functions 2 years ago
test_cacert_load_and_verify_duration-t.cpp Adjust TAP test time threshold based on OpenSSL version - Closes #4830 1 year ago
test_change_user-t.cpp fix function call 2 years ago
test_clickhouse_server-t.cpp fix mysql includes 2 years ago
test_client_limit_error-t.cpp use local includes - libconfig 2 years ago
test_cluster1-t.cpp use inludes from our deps intead of system 2 years ago
test_cluster_sync-t.cpp Several fixes for 'test_query_rules_fast_routing_algorithm-t.cpp' 1 year ago
test_cluster_sync_mysql_servers-t.cpp Refactor several TAP tests utilities 2 years ago
test_com_binlog_dump_enables_fast_forward-t.cpp Adding plan() in several TAP tests 3 years ago
test_com_register_slave_enables_fast_forward-t.cpp
test_com_reset_connection_com_change_user-t.cpp fix mysql includes 2 years ago
test_connection_annotation-t.cpp fix mysql includes 2 years ago
test_csharp_connector_support-t.cpp use inludes from our deps intead of system 2 years ago
test_debug_filters-t.cpp use inludes from our deps intead of system 2 years ago
test_default_conn_collation-t.cpp fix mysql includes 2 years ago
test_default_value_transaction_isolation-t.cpp use inludes from our deps intead of system 2 years ago
test_default_value_transaction_isolation_attr-t.cpp use inludes from our deps intead of system 2 years ago
test_digest_umap_aux-t.cpp Adding some clean up to test_digest_umap_aux-t 2 years ago
test_dns_cache-t.cpp Updated TAP test 1 year ago
test_empty_query-t.cpp
test_enforce_autocommit_on_reads-t.cpp use inludes from our deps intead of system 2 years ago
test_filtered_set_statements-t.cpp Merge remote-tracking branch 'Master/v2.x' into v2.x_testing_ci_test_failures 2 years ago
test_firewall-t.cpp use inludes from our deps intead of system 2 years ago
test_flagOUT_weight-t.cpp Several enhancements for TAP tests compilation 2 years ago
test_flush_logs-t.sh add tap test for flush logs 2 years ago
test_format_utils-t.cpp Several enhancements for TAP tests compilation 2 years ago
test_greeting_capabilities-t.cpp
test_gtid_forwarding-t.cpp fix mysql includes 2 years ago
test_hostgroup_attributes_online_servers-t.cpp Added TAP test 2 years ago
test_keep_multiplexing_variables-t.cpp use inludes from our deps intead of system 2 years ago
test_ldap_stats_mysql_users.cpp
test_log_last_insert_id-t.cpp fix mysql includes 2 years ago
test_match_eof_conn_cap.cpp Fixed the return values of get_matching_lines() 12 months ago
test_max_transaction_time-t.cpp
test_mysql_connect_retries-t.cpp Several enhancements for TAP tests compilation 2 years ago
test_mysql_connect_retries_delay-t.cpp Several enhancements for TAP tests compilation 2 years ago
test_mysql_hostgroup_attributes-1-t.cpp Merge remote-tracking branch 'Master/v2.x' into v2.x_unified_makefile_fixes 2 years ago
test_mysql_query_digests_stages-t.cpp Several updates for 'test_mysql_query_digests_stages-t.cpp' 11 months ago
test_mysql_query_rules_fast_routing-t.cpp use inludes from our deps intead of system 2 years ago
test_mysqlsh-t.cpp fix mysql includes 2 years ago
test_prepare_statement_memory_usage-t.cpp Implemented memory usage monitoring for the prepared statement cache with the following changes: 2 years ago
test_prometheus_metrics-t.cpp Improve TAP test with conn_pool metrics create/update 2 years ago
test_ps_async-t.cpp use inludes from our deps intead of system 2 years ago
test_ps_hg_routing-t.cpp use inludes from our deps intead of system 2 years ago
test_ps_large_result-t.cpp use inludes from our deps intead of system 2 years ago
test_ps_logging-t.cpp Updating test_ps_logging-t after enabling mysql-eventslog_stmt_parameters 11 months ago
test_ps_no_store-t.cpp use inludes from our deps intead of system 2 years ago
test_query_cache_soft_ttl_pct-t.cpp fix assigment result comparison 2 years ago
test_query_rules_fast_routing_algorithm-t.cpp Remove duplicate utils from 'test_query_rules_fast_routing_algorithm-t' 1 year ago
test_query_rules_routing-t.cpp Changes done: 1 year ago
test_query_timeout-t.cpp Changes done: 1 year ago
test_read_only_actions_offline_hard_servers-t.cpp Refactor several TAP tests utilities 2 years ago
test_rw_binary_data-t.cpp fix mysql includes 2 years ago
test_server_sess_status-t.cpp
test_session_status_flags-t.cpp Remove unnecessary/unused utils from tests 1 year ago
test_set_character_results-t.cpp use inludes from our deps intead of system 2 years ago
test_set_collation-t.cpp use inludes from our deps intead of system 2 years ago
test_simple_embedded_HTTP_server-t.cpp fix mysql includes 2 years ago
test_sqlite3_from_unixtime-t.py
test_sqlite3_pass_exts-t.cpp Remove unnecessary/unused utils from tests 1 year ago
test_sqlite3_pass_exts-t.env Add end-to-end pass gen testing to 'test_sqlite3_pass_exts-t' 2 years ago
test_sqlite3_server-t.cpp Several fixes for 'test_query_rules_fast_routing_algorithm-t.cpp' 1 year ago
test_sqlite3_server.sh various connection related fixes 3 years ago
test_sqlite3_server_and_fast_routing-t.cpp Changes done: 1 year ago
test_sqlite3_special_queries.cpp Add test for special queries intercepted by 'SQLite3' sessions 1 year ago
test_ssl_connect-t.cpp fix mysql includes 2 years ago
test_ssl_fast_forward-1-t.cpp use inludes from our deps intead of system 2 years ago
test_ssl_fast_forward-2.cpp Compile 'test_ssl_fast_forward-*-t' against 'libmariadb' and 'libmysqlclient' 1 year ago
test_ssl_fast_forward-3.cpp Compile 'test_ssl_fast_forward-*-t' against 'libmariadb' and 'libmysqlclient' 1 year ago
test_ssl_large_query-1-t.cpp use inludes from our deps intead of system 2 years ago
test_ssl_large_query-2-t.cpp use inludes from our deps intead of system 2 years ago
test_stats_proxysql_message_metrics-t.cpp fix mysql includes 2 years ago
test_thread_conn_dist-t.cpp Add TAP test checking thread conns distribution 2 years ago
test_throttle_max_bytes_per_second_to_client-t.cpp Changes done: 1 year ago
test_unshun_algorithm-t.cpp Fix waits before unshunning for 'test_unshun_algorithm-t.cpp' - Closes #4930 11 months ago
test_unsupported_queries-t.cpp fix mysql includes 2 years ago
test_utf8mb4_as_ci-4841-t.cpp Fix target hostgroup for 'test_utf8mb4_as_ci-4841-t.cpp' 1 year ago
test_warnings-t.cpp Fix usage of tests deps MySQL connector for some tests 2 years ago
test_wexecvp_syscall_failures-t.cpp
tests.env add per folder and per test env file loading to TAP tests 3 years ago

README.md

Warning Count Logging in ProxySQL TAP Tests

With the exception of a few, all TAP tests are now geared up to log warning count and the query that triggered the warning during its execution.

Working

The method for extracting both the warning count and the associated query in all TAP tests involves overriding of specific APIs of MariaDB client library. This method facilitates the seamless extraction of both the warning count and the query.

Default Settings

By default, the logging of both the warning count and the associated query is activated for all TAP tests.

However, there are specific tests where logging is intentionally disabled. If needed, you have the flexibility to disable the logging by defining the preprocessor directive 'DISABLE_WARNING_COUNT_LOGGING'.