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/groups
Rene Cannao ef32d9df87
ci: register plugin_runtime_views_unit-t in groups.json
4 weeks ago
..
ai Address code review feedback for AI TAP group migration 2 months ago
ai-g1 Fix ai-g1 env.sh to be POSIX sh compatible 2 months ago
basictests Fix mysql84 pre-proxysql hook, basictests setup, and move flaky tests 2 months ago
default Fix pre-proxysql.bash hooks: replace hardcoded paths with and remove legacy provisioning that conflicts with unified CI 2 months ago
legacy fix(infra): swap legacy group to use infra-dbdeployer-mariadb10 1 month ago
legacy-binlog feat(infra): swap legacy-binlog group to infra-dbdeployer-mysql57-binlog 1 month ago
legacy-clickhouse Split clickhouse tests into separate legacy-clickhouse group 2 months ago
mysql-auto_increment_delay_multiplex=0 Fix reg_test_3223 RESTAPI scripts path and add group env inheritance 2 months ago
mysql-multiplexing=false Fix reg_test_3223 RESTAPI scripts path and add group env inheritance 2 months ago
mysql-query_digests=0 Fix reg_test_3223 RESTAPI scripts path and add group env inheritance 2 months ago
mysql-query_digests_keep_comment=1 Fix reg_test_3223 RESTAPI scripts path and add group env inheritance 2 months ago
mysql56-single CI: Add `mysql56-single` test infra 1 month ago
mysql84 feat(infra): swap mysql84 and mysql84-binlog groups to dbdeployer 1 month ago
mysql84-binlog feat(infra): swap mysql84 and mysql84-binlog groups to dbdeployer 1 month ago
mysql84-gr feat(infra): add infra-dbdeployer-mysql84-gr and update mysql84-gr group 1 month ago
mysql90 feat(infra): add dbdeployer-based MySQL 9.0/9.3/9.5 standalone and GR infras 1 month ago
mysql90-binlog feat(infra): add dbdeployer-based MySQL 9.0/9.5 binlog-reader infras 1 month ago
mysql90-gr feat(infra): add dbdeployer-based MySQL 9.0/9.3/9.5 standalone and GR infras 1 month ago
mysql91 Fix mysql84+ pre-proxysql.bash: remove infra-default, fix infra paths 2 months ago
mysql91-gr Fix mysql84+ pre-proxysql.bash: remove infra-default, fix infra paths 2 months ago
mysql92 Fix mysql84+ pre-proxysql.bash: remove infra-default, fix infra paths 2 months ago
mysql92-gr Fix mysql84+ pre-proxysql.bash: remove infra-default, fix infra paths 2 months ago
mysql93 feat(infra): add dbdeployer-based MySQL 9.0/9.3/9.5 standalone and GR infras 1 month ago
mysql93-gr feat(infra): add dbdeployer-based MySQL 9.0/9.3/9.5 standalone and GR infras 1 month ago
mysql95 feat(infra): add dbdeployer-based MySQL 9.0/9.3/9.5 standalone and GR infras 1 month ago
mysql95-binlog feat(infra): add dbdeployer-based MySQL 9.0/9.5 binlog-reader infras 1 month ago
mysql95-gr feat(infra): add dbdeployer-based MySQL 9.0/9.3/9.5 standalone and GR infras 1 month ago
mysqlx-e2e fix(ci,infra): pass PROXYSQL40 to plugin build, remove orphaned infra files 4 weeks ago
mysqlx-soak test(mysqlx): wire harness into the docker-isolated TAP framework 4 weeks ago
no-infra-g1 Fix no-infra TAP group setup 2 months ago
pgsql-repl Finalize infra migration and security hardening 3 months ago
pgsql17-repl Remove redundant docker-hoster infrastructure 3 months ago
rand5_admin_1 Add rand5_admin_1 test group environment configuration 4 months ago
rand10_1 Add test group environment configurations 4 months ago
rand10_2 Add test group environment configurations 4 months ago
rand10_3 Add test group environment configurations 4 months ago
rand10_4 Add test group environment configurations 4 months ago
rand10_pg_1 Add test group environment configurations 4 months ago
todo Move test_client_limit_error-t to todo-g1 group 2 months ago
unit-tests Add SKIP_PROXYSQL support for infrastructure-free test groups 2 months ago
README.md Add README.md for TAP test groups directory 2 months ago
check_groups.py ci(lint): catch TAP tests missing from groups.json on every PR 1 month ago
groups.json ci: register plugin_runtime_views_unit-t in groups.json 4 weeks ago
lint_groups_json.py fix: reformat groups.json to one-line-per-entry and add --fix to linter 1 month ago

README.md

TAP Test Groups

This directory organizes TAP tests into groups that share the same infrastructure and configuration.

groups.json

groups.json maps each test binary to one or more groups. Every entry is a test name (without path) and an array of group names it belongs to.

Format

One entry per line, compact arrays with spaces around : and inside [ ]:

{
  "admin-listen_on_unix-t" : [ "legacy-g1","mysql84-g1","mysql90-g1" ],
  "auth_unit-t" : [ "unit-tests-g1" ],
  "basic-t" : [ "legacy-g1","mysql84-g1" ]
}

This format keeps grep effective for quick lookups:

# Which groups does a test belong to?
grep "my_test-t" groups.json

# Which tests are in a group?
grep "unit-tests-g1" groups.json

Do not reformat the file with multi-line arrays or change the indentation style.

Group naming convention

Groups follow the pattern <base>-g<N> where:

  • <base> is the group name (e.g., legacy, mysql84, unit-tests)
  • <N> is a subgroup number for splitting tests into parallel batches

The system strips the -gN suffix to find the base group directory for infras.lst, env.sh, and hooks.

Group directory structure

Each group has a directory under test/tap/groups/<base>/ with some or all of:

File Purpose
env.sh Environment variables for the group (sourced early by the runner)
infras.lst Required backend infrastructures (one per line)
setup-infras.bash Hook: runs after all backends are up
pre-proxysql.bash Hook: runs before test execution (e.g., cluster setup)
pre-cleanup.bash Hook: runs after tests, before container teardown

Infrastructure-free groups

Groups that set SKIP_PROXYSQL=1 in their env.sh run without ProxySQL or any backend containers. The unit-tests group is the primary example. See test/infra/README.md section 6.1 for details.