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
Rene Cannao 7e1a12b8f7
feat: add generic plugin ABI and loader
2 months ago
..
aws_ssl_certs
client_host_err
load_data_local_datadir
rag_stats_testing
reg_test_3223_scripts
reg_test_3838_scripts
reg_test_3847_node_datadir Fix reg_test_3847_admin_lock for isolated CI runtime layout 3 months ago
test_cluster_sync_config Fix cluster CI: remove duplicate primary INSERT and add sync_algorithm=3 3 months ago
test_pgsql_replication_lag
tokenizer_payloads
unit feat: add generic plugin ABI and loader 2 months ago
.env
Makefile Register PgSQL FFTO tests in Makefile and groups.json (#5517) 3 months ago
README.md
admin-listen_on_unix-t.cpp
admin_set_credentials_logging-t.cpp Finalize fixes and add TAP group for no-infra tests 3 months ago
admin_set_credentials_logging-t.env Fix no-infra TAP group setup 3 months ago
admin_show_create_table-t.cpp
admin_show_fields_from-t.cpp
admin_show_table_status-t.cpp
admin_various_commands-t.cpp
admin_various_commands2-t.cpp
admin_various_commands3-t.cpp
ai_error_handling_edge_cases-t.cpp
ai_llm_retry_scenarios-t.cpp
ai_validation-t.cpp
anomaly_detection-t.cpp
anomaly_detection_integration-t.cpp
anomaly_detector_unit-t.cpp
aurora.cpp
basic-t.cpp
charset_unsigned_int-t.cpp Fix charset_unsigned_int-t for MySQL 8.4 3 months ago
clickhouse_php_conn-t.php Fix legacy TAP tests: clickhouse_php_conn and reg_test_3317 3 months ago
config.json
envvars-t.cpp
envvars-t.env
fast_forward_grace_close.cpp
fast_forward_switch_replication_deprecate_eof.cpp
firewall_commands1-t.cpp
galera_1-sim
galera_1_timeout_count.cpp
galera_2-sim
galera_2_timeout_no_count.cpp
genai_async-t.cpp
genai_embedding_rerank-t.cpp
genai_live_validation-t.cpp
genai_module-t.cpp
generate_set_session_csv.cpp
issue5384-t.cpp
kill_connection-t.cpp
kill_connection2-t.cpp
kill_connection3-t.cpp
listener_conflicts_validation-t.cpp Finalize fixes and add TAP group for no-infra tests 3 months ago
llm_bridge_accuracy-t.cpp
max_connections_ff-t.cpp Fix admin connection and authentication in TAP tests 3 months ago
mcp_mixed_mysql_pgsql_concurrency_stress-t.cpp
mcp_mixed_stats_cap_churn-t.cpp
mcp_mixed_stats_profile_matrix-t.cpp
mcp_module-t.cpp
mcp_mysql_concurrency_stress-t.cpp
mcp_pgsql_concurrency_stress-t.cpp
mcp_query_rules-t.cpp
mcp_query_run_sql_readonly-t.cpp
mcp_runtime_variables-t.cpp
mcp_semantic_lifecycle-t.cpp
mcp_show_connections_commands_inmemory-t.cpp
mcp_show_queries_topk-t.cpp
mcp_stats_refresh-t.cpp
modules_server_test.h Fix clickhouse tests for Docker-based CI infrastructure 3 months ago
multiple_prepared_statements-t.cpp
mysql-fast_forward-t.cpp
mysql-init_connect-1-t.cpp
mysql-init_connect-2-t.cpp
mysql-last_insert_id-t.cpp
mysql-mirror1-t.cpp
mysql-protocol_compression_level-t.cpp
mysql-reg_test_4707_threshold_resultset_size-t.cpp
mysql-reg_test_4716_single_semicolon-t.cpp
mysql-reg_test_4723_query_cache_stores_empty_result-t.cpp
mysql-reg_test_4867_query_rules-t.cpp
mysql-select_version_without_backend-t.cpp
mysql-set_transaction-t.cpp
mysql-set_wait_timeout-t.cpp
mysql-show_ssl_version-t.cpp
mysql-sql_log_bin-error-t.cpp
mysql-test_malformed_packet-t.cpp
mysql-test_ssl_CA-t.cpp
mysql-watchdog_test-t.cpp
mysql_hostgroup_attributes-servers_defaults-t.cpp
mysql_hostgroup_attributes_config_file-t.cpp
mysql_query_logging_memory-t.cpp Fix TAP tests failing in legacy/legacy-g1 after CI migration to per-container hostnames 3 months ago
mysql_reconnect.cpp
mysql_stmt_send_long_data-t.cpp
mysql_stmt_send_long_data_large-t.cpp
nl2sql_integration-t.cpp
nl2sql_internal-t.cpp
nl2sql_model_selection-t.cpp
nl2sql_prompt_builder-t.cpp
nl2sql_unit_base-t.cpp
pg_lite_client.cpp
pg_lite_client.h
pgsql-admin_metacmds-t.cpp Addressed AI review feedback 3 months ago
pgsql-admin_metacmds_describe_all_tables-t.cpp Addressed AI review feedback 3 months ago
pgsql-admin_metacmds_describe_queries-t.cpp
pgsql-basic_tests-t.cpp
pgsql-connection_parameters_test-t.cpp
pgsql-copy_from_stdin_session_parameter-t.cpp
pgsql-copy_from_test-t.cpp
pgsql-copy_to_test-t.cpp
pgsql-extended_query_protocol_query_rules_test-t.cpp
pgsql-extended_query_protocol_test-t.cpp
pgsql-issue5384-t.cpp
pgsql-monitor_ssl_connections_test-t.cpp
pgsql-multiplex_status_test-t.cpp
pgsql-notice_test-t.cpp
pgsql-options_startup_params-t.cpp
pgsql-parameterized_kill_queries_test-t.cpp
pgsql-proxysql_cmd_test-t.cpp
pgsql-query_cache_soft_ttl_pct-t.cpp
pgsql-query_cache_test-t.cpp
pgsql-query_cancel_session_termination_test-t.cpp
pgsql-query_digests_stages_test-t.cpp
pgsql-query_rules_routing-t.cpp
pgsql-reg_test_4707_threshold_resultset_size-t.cpp
pgsql-reg_test_4716_single_semicolon-t.cpp
pgsql-reg_test_4867_query_rules-t.cpp
pgsql-reg_test_5140_bind_param_fmt_mix-t.cpp
pgsql-reg_test_5273_bind_parameter_format-t.cpp
pgsql-reg_test_5284_frontend_ssl_enforcement-t.cpp
pgsql-reg_test_5300_threshold_resultset_deadlock-t.cpp
pgsql-reg_test_5352_prepared_statement_refcount_race-t.cpp Fail fast in purge-trigger setup if connection or stmt fails 2 months ago
pgsql-reg_test_5415_copy_error_recovery-t.cpp
pgsql-set_parameter_validation_test-t.cpp
pgsql-set_statement_test-t.cpp
pgsql-test_malformed_packet-t.cpp
pgsql-transaction_state_comprehensive-t.cpp
pgsql-transaction_variable_state_tracking-t.cpp Fix pgsql transaction test and auth_methods crash-on-skip 3 months ago
pgsql-unsupported_feature_test-t.cpp
pgsql-watchdog_test-t.cpp
pgsql_query_logging_autodump-t.cpp
pgsql_query_logging_memory-t.cpp
prepare_statement_err3024-t.cpp
proxysql_reference_select_config_file.cnf
reg_test_1493-mixed_compression-t.cpp
reg_test_1574-mariadb_read_stmt_execute_response-t.cpp
reg_test_1574-stmt_metadata-t.cpp
reg_test_2233_mirror_fast_routing-t.cpp
reg_test_2793-compression-t.cpp feat: add mysql protocol zstd compression support 3 months ago
reg_test_3184-set_wait_timeout-t.cpp
reg_test_3223-restapi_return_codes-t.cpp Fix TAP tests failing in legacy/legacy-g1 after CI migration to per-container hostnames 3 months ago
reg_test_3247-mycli_support-t.cpp
reg_test_3273_ssl_con-t.cpp
reg_test_3317-lock_hostgroup_special_queries-t.cpp Fix legacy TAP tests: clickhouse_php_conn and reg_test_3317 3 months ago
reg_test_3327-process_query_set_status_flags-t.cpp
reg_test_3371_prepared_statement_crash-t.cpp
reg_test_3427-stmt_first_comment1-param-t.cpp
reg_test_3427-stmt_first_comment1-t.cpp
reg_test_3427-stmt_first_comment2-param-t.cpp
reg_test_3427-stmt_first_comment2-t.cpp
reg_test_3434-text_stmt_mix-t.cpp
reg_test_3493-USE_with_comment-t.cpp
reg_test_3504-change_user-t.cpp
reg_test_3504-change_user_helper.cpp
reg_test_3546-stmt_empty_params-t.cpp
reg_test_3549-autocommit_tracking-t.cpp
reg_test_3585-stmt_metadata-t.cpp
reg_test_3591-restapi_num_fds-t.cpp Fix TAP tests failing in legacy/legacy-g1 after CI migration to per-container hostnames 3 months ago
reg_test_3603-stmt_metadata-t.cpp
reg_test_3606-mysql_warnings-t.cpp
reg_test_3625-sqlite3_session_client_error_limit-t.cpp Fix TAP tests failing in legacy/legacy-g1 after CI migration to per-container hostnames 3 months ago
reg_test_3690-admin_large_pkts-t.cpp
reg_test_3765_ssl_pollout-t.cpp
reg_test_3838-restapi_eintr-t.cpp Fix TAP tests failing in legacy/legacy-g1 after CI migration to per-container hostnames 3 months ago
reg_test_3847_admin_lock-t.cpp Fix reg_test_3847_admin_lock for isolated CI runtime layout 3 months ago
reg_test_3992_fast_forward_malformed_packet-mysqlsh-t.cpp
reg_test_3992_fast_forward_malformed_packet-pymysql-t.py Fix: Correct python33 shebang typo to python3 3 months ago
reg_test_3992_fast_forward_malformed_packet-t.cpp
reg_test_4001-restapi_scripts_num_fds-t.cpp Fix TAP tests failing in legacy/legacy-g1 after CI migration to per-container hostnames 3 months ago
reg_test_4055_restapi-t.cpp Fix TAP tests failing in legacy/legacy-g1 after CI migration to per-container hostnames 3 months ago
reg_test_4072-show-warnings-t.cpp
reg_test_4158_change_user-t.cpp
reg_test_4264-commit_rollback-t.cpp
reg_test_4300-dollar_quote_check-t.cpp
reg_test_4399-stats_mysql_query_digest-t.cpp
reg_test_4402-mysql_fields-t.cpp
reg_test_4556-ssl_error_queue-t.cpp Fix TAP tests failing in legacy/legacy-g1 after CI migration to per-container hostnames 3 months ago
reg_test_4855_affected_rows_ddl-t.cpp
reg_test_4935-caching_sha2-t.cpp
reg_test_4935-caching_sha2-t.env Fix test_sqlite3_pass_exts for Docker-based CI infrastructure 3 months ago
reg_test_5212_tcp_keepalive_warnings-t.cpp
reg_test_5233_set_warning-t.cpp
reg_test_5306-show_warnings_with_comment-t.cpp Fix SHOW WARNINGS test to work with MySQL 5.7 2 months ago
reg_test_5389-flush_logs_no_drop-t.cpp
reg_test__ssl_client_busy_wait-t.cpp Add step-by-step diagnostics to reg_test__ssl_client_busy_wait-t 3 months ago
reg_test_com_change_user_malformed_packet-t.cpp Add malformed COM_CHANGE_USER TAP regression 3 months ago
reg_test_compression_split_packets-t.cpp
reg_test_fast_forward_split_packet-t.cpp
reg_test_handshake_response_unterminated_username-t.cpp Add unterminated HandshakeResponse TAP regression 3 months ago
reg_test_mariadb_metadata_check-t.cpp
reg_test_mariadb_stmt_store_result-t.cpp
reg_test_proclist_use_after_free-t.cpp
reg_test_proxy_protocol_oversized_address-t.cpp Fix PROXY protocol v1 address overflow 3 months ago
reg_test_sql_calc_found_rows-t.cpp
reg_test_stmt_close_short_packet-t.cpp Fix COM_STMT_CLOSE short packet handling 3 months ago
reg_test_stmt_inv_param_offset-t.cpp
reg_test_stmt_resultset_err_no_rows-t.cpp
reg_test_stmt_resultset_err_no_rows.php
reg_test_stmt_resultset_err_no_rows_php-t.cpp
reg_test_stmt_send_long_data_short_packet-t.cpp Fix COM_STMT_SEND_LONG_DATA short packet handling 2 months ago
reg_test_unexp_ping_pkt-t.cpp Fix reg_test_unexp_ping_pkt for isolated CI networking and Prometheus labels 3 months ago
repro_3404-mysql_close_fd_leak.cpp
repro_test_leak_3350.cpp
repro_test_leak_3525.cpp
savepoint-948-t.cpp
savepoint-3749-t.cpp
set_character_set-t.cpp
set_testing-240-t.cpp
set_testing-240.h
set_testing-multi-t.cpp Fix stale per-connection state tracking in set_testing-multi 3 months ago
set_testing-t.cpp
set_testing-t.csv
set_testing-t.csv.obsolete
set_testing.h Clean up set_testing debugging and improve connection tracking 3 months ago
setparser_test-t.cpp
setparser_test.cpp
setparser_test2.cpp
setparser_test3.cpp
setparser_test_common.h
sqlite3-t.cpp
sqlite_autocommit-t.cpp
stmt_explain-t.cpp
test_PROXY_Protocol-t.cpp
test_admin_prometheus_metrics_dump-t_disabled_gh3571.cpp
test_admin_stats-t.cpp
test_auth_methods-t.cpp Fix pgsql transaction test and auth_methods crash-on-skip 3 months ago
test_auth_methods-t.env
test_auto_increment_delay_multiplex-t.cpp
test_backend_conn_ping-t.cpp
test_binlog_dump_multi_backend_crash-t.cpp Address PR review feedback for test_binlog_dump_multi_backend_crash 2 months ago
test_binlog_fast_forward-t.cpp
test_binlog_reader-t.cpp Add debugging to test_binlog_reader-t and add missing sbtest users 3 months ago
test_binlog_reader_uses_previous_hostgroup-t.cpp
test_cacert_load_and_verify_duration-t.cpp
test_change_user-t.cpp
test_clickhouse_server-t.cpp Fix ClickHouse test: use 0.0.0.0 interface for Docker compatibility 3 months ago
test_client_limit_error-t.cpp
test_cluster1-t.cpp
test_cluster_sync-t.cpp Fix test_cluster_sync-t: connect to spawned replica via 127.0.0.1 3 months ago
test_cluster_sync_mysql_servers-t.cpp fix: remove stale proxysql.db before launching cluster sync replicas 3 months ago
test_com_binlog_dump_enables_fast_forward-t.cpp
test_com_register_slave_enables_fast_forward-t.cpp Fix COM_REGISTER_SLAVE test and enhance binlog reader diagnostics 3 months ago
test_com_reset_connection_com_change_user-t.cpp
test_connection_annotation-t.cpp
test_csharp_connector_support-t.cpp
test_debug_filters-t.cpp
test_default_conn_collation-t.cpp
test_default_value_transaction_isolation_attr-t.cpp
test_digest_umap_aux-t.cpp
test_dns_cache-t.cpp
test_empty_query-t.cpp
test_enforce_autocommit_on_reads-t.cpp
test_ffto_bypass-t.cpp
test_ffto_mysql-t.cpp
test_ffto_mysql_bypass_recovery-t.cpp Address AI code review feedback on PgSQL FFTO tests (#5517) 3 months ago
test_ffto_mysql_concurrent-t.cpp Address AI code review feedback on PgSQL FFTO tests (#5517) 3 months ago
test_ffto_mysql_errors-t.cpp test(ffto): E2E test for MySQL FF error recording in stats_mysql_errors 3 months ago
test_ffto_mysql_large_queries-t.cpp Address AI code review feedback on PgSQL FFTO tests (#5517) 3 months ago
test_ffto_mysql_large_resultsets-t.cpp Address AI code review feedback on PgSQL FFTO tests (#5517) 3 months ago
test_ffto_mysql_mixed_protocol-t.cpp Address AI code review feedback on PgSQL FFTO tests (#5517) 3 months ago
test_ffto_mysql_transactions-t.cpp Address AI code review feedback on PgSQL FFTO tests (#5517) 3 months ago
test_ffto_pgsql-t.cpp
test_ffto_pgsql_command_types-t.cpp Address AI code review feedback on PgSQL FFTO tests (#5517) 3 months ago
test_ffto_pgsql_concurrent-t.cpp Address AI code review feedback on PgSQL FFTO tests (#5517) 3 months ago
test_ffto_pgsql_error_stats-t.cpp test(ffto): E2E test for PostgreSQL FF error recording in stats_pgsql_errors 3 months ago
test_ffto_pgsql_errors-t.cpp Address AI code review feedback on PgSQL FFTO tests (#5517) 3 months ago
test_ffto_pgsql_large_resultsets-t.cpp Address AI code review feedback on PgSQL FFTO tests (#5517) 3 months ago
test_ffto_pgsql_mixed_protocol-t.cpp Address AI code review feedback on PgSQL FFTO tests (#5517) 3 months ago
test_ffto_pgsql_pipeline-t.cpp Address AI code review feedback on PgSQL FFTO tests (#5517) 3 months ago
test_ffto_pgsql_stmt_portal-t.cpp Address AI code review feedback on PgSQL FFTO tests (#5517) 3 months ago
test_filtered_set_statements-t.cpp
test_firewall-t.cpp
test_flagOUT_weight-t.cpp
test_flush_logs-t.sh Fix test_flush_logs-t for Dockerized and remote environments 3 months ago
test_format_utils-t.cpp
test_greeting_capabilities-t.cpp
test_gtid_forwarding-t.cpp
test_hostgroup_attributes_online_servers-t.cpp
test_ignore_min_gtid-t.cpp
test_keep_multiplexing_variables-t.cpp
test_ldap_stats_mysql_users.cpp
test_load_from_config_prefix_stripping-t.cpp
test_load_from_config_validation-t.cpp Merge remote-tracking branch 'origin/v3.0' into copilot/feature-load-restapi-routes-config 3 months ago
test_load_restapi_from_config_startup-t.cpp fix: escape restapi config values 3 months ago
test_log_last_insert_id-t.cpp
test_match_eof_conn_cap.cpp
test_max_transaction_time-t.cpp
test_mcp_claude_headless_flow-t.sh
test_mcp_llm_discovery_phaseb-t.sh
test_mcp_rag_metrics-t.sh
test_mcp_static_harvest-t.sh
test_mysql_connect_retries-t.cpp
test_mysql_connect_retries_delay-t.cpp
test_mysql_hostgroup_attributes-1-t.cpp
test_mysql_query_digests_stages-t.cpp
test_mysql_query_rules_fast_routing-t.cpp
test_mysqlsh-t.cpp
test_noise_injection-t.cpp
test_pgsql_replication_lag-t.cpp
test_pgsql_replication_lag-t.env
test_prepare_statement_memory_usage-t.cpp
test_prometheus_metrics-t.cpp
test_ps_async-t.cpp
test_ps_hg_routing-t.cpp
test_ps_large_result-t.cpp
test_ps_logging-t.cpp
test_ps_no_store-t.cpp
test_query_cache_soft_ttl_pct-t.cpp Add hostgroup debug diagnostics and cache test tolerance 3 months ago
test_query_rules_fast_routing_algorithm-t.cpp
test_query_rules_routing-t.cpp Fix admin connection and authentication in TAP tests 3 months ago
test_query_timeout-t.cpp
test_read_only_actions_offline_hard_servers-t.cpp Fix read_only test assuming default_hostgroup=0 2 months ago
test_rw_binary_data-t.cpp
test_server_sess_status-t.cpp
test_session_status_flags-t.cpp
test_set_character_results-t.cpp
test_set_collation-t.cpp
test_simple_embedded_HTTP_server-t.cpp fix(tests): Replace hardcoded 127.0.0.1 with env-driven host/port 3 months ago
test_sqlite3_from_unixtime-t.py
test_sqlite3_pass_exts-t.cpp Fix test_sqlite3_pass_exts plan for MySQL version differences 3 months ago
test_sqlite3_pass_exts-t.env Improve test_query_rules_routing hostgroup discovery 3 months ago
test_sqlite3_server-t.cpp
test_sqlite3_server.sh
test_sqlite3_server_and_fast_routing-t.cpp
test_sqlite3_special_queries.cpp
test_ssl_connect-t.cpp
test_ssl_fast_forward-1-t.cpp
test_ssl_fast_forward-2.cpp
test_ssl_fast_forward-3.cpp
test_ssl_large_query-1-t.cpp
test_ssl_large_query-2-t.cpp
test_stats_proxysql_message_metrics-t.cpp
test_thread_conn_dist-t.cpp
test_throttle_max_bytes_per_second_to_client-t.cpp Add hostgroup debug diagnostics and cache test tolerance 3 months ago
test_tls_stats-t.cpp Fix test_tls_stats plan count and move caching_sha2 to mysql84 3 months ago
test_tsdb_api-t.cpp Fix admin connection and authentication in TAP tests 3 months ago
test_tsdb_variables-t.cpp Address review feedback on TSDB tests 3 months ago
test_unshun_algorithm-t.cpp
test_unsupported_queries-t.cpp Add hostgroup debug diagnostics and cache test tolerance 3 months ago
test_utf8mb4_as_ci-4841-t.cpp
test_warnings-t.cpp Add hostgroup debug diagnostics and cache test tolerance 3 months ago
test_wexecvp_syscall_failures-t.cpp
tests.env
unit-strip_schema_from_query-t.cpp
unit_test.h
vector_db_performance-t.cpp
vector_features-t.cpp

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'.