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 ed0010e8fa
test(tap): fix setup-infras.bash and pgsql-unix_socket-t after local run
3 weeks ago
..
ai feat(plugins/genai): adopt ABI-3 separation-of-duties for runtime_mcp_* 2 months ago
ai-g1 feat(plugins/genai): Step 7 follow-up — Phase B schema registration + ai-g1 plugin wiring 2 months ago
basictests
cluster_sim_aurora test: Add cluster simulator TAP groups 2 months ago
cluster_sim_galera test: Add cluster simulator TAP groups 2 months ago
cluster_sim_group_repl test: Add cluster simulator TAP groups 2 months ago
cluster_sim_read_only test: Add cluster simulator TAP groups 2 months ago
cluster_sim_repl_lag test: Add cluster simulator TAP groups 2 months ago
default
legacy fix(infra): swap legacy group to use infra-dbdeployer-mariadb10 3 months ago
legacy-binlog feat(infra): swap legacy-binlog group to infra-dbdeployer-mysql57-binlog 3 months ago
legacy-clickhouse
legacy-g6 feat(ci): split legacy-g[1-4] and mysql84-g[1-4] into parallel groups for faster CI 2 months ago
legacy-g7 feat(ci): split legacy-g[1-4] and mysql84-g[1-4] into parallel groups for faster CI 2 months ago
legacy-g8 feat(ci): split legacy-g[1-4] and mysql84-g[1-4] into parallel groups for faster CI 2 months ago
legacy-g9 feat(ci): split legacy-g[1-4] and mysql84-g[1-4] into parallel groups for faster CI 2 months ago
mariadb10-galera fix(test): fix flaky test failures in mysql84-g8 and mysql84-gr-g5 2 months ago
mysql-auto_increment_delay_multiplex=0
mysql-multiplexing=false
mysql-query_digests=0
mysql-query_digests_keep_comment=1
mysql56-single CI: Add `mysql56-single` test infra 2 months ago
mysql84 feat(infra): swap mysql84 and mysql84-binlog groups to dbdeployer 3 months ago
mysql84-binlog feat(infra): swap mysql84 and mysql84-binlog groups to dbdeployer 3 months ago
mysql84-g6 feat(ci): split legacy-g[1-4] and mysql84-g[1-4] into parallel groups for faster CI 2 months ago
mysql84-g7 feat(ci): split legacy-g[1-4] and mysql84-g[1-4] into parallel groups for faster CI 2 months ago
mysql84-g8 feat(ci): split legacy-g[1-4] and mysql84-g[1-4] into parallel groups for faster CI 2 months ago
mysql84-g9 feat(ci): split legacy-g[1-4] and mysql84-g[1-4] into parallel groups for faster CI 2 months ago
mysql84-gr fix(ci): use GR hostgroups 3000/3001 in mysql84-gr pre-proxysql hook 2 months ago
mysql90 feat(infra): add dbdeployer-based MySQL 9.0/9.3/9.5 standalone and GR infras 3 months ago
mysql90-binlog feat(infra): add dbdeployer-based MySQL 9.0/9.5 binlog-reader infras 3 months ago
mysql90-gr feat(infra): add dbdeployer-based MySQL 9.0/9.3/9.5 standalone and GR infras 3 months ago
mysql91
mysql91-gr
mysql92
mysql92-gr
mysql93 feat(infra): add dbdeployer-based MySQL 9.0/9.3/9.5 standalone and GR infras 3 months ago
mysql93-gr feat(infra): add dbdeployer-based MySQL 9.0/9.3/9.5 standalone and GR infras 3 months ago
mysql95 feat(infra): add dbdeployer-based MySQL 9.0/9.3/9.5 standalone and GR infras 3 months ago
mysql95-binlog feat(infra): add dbdeployer-based MySQL 9.0/9.5 binlog-reader infras 3 months ago
mysql95-gr feat(infra): add dbdeployer-based MySQL 9.0/9.3/9.5 standalone and GR infras 3 months ago
mysqlx-e2e fix(ci,infra): pass PROXYSQL40 to plugin build, remove orphaned infra files 2 months ago
mysqlx-soak test(mysqlx): wire harness into the docker-isolated TAP framework 2 months ago
mysqlx-tsan-g1 ci: add CI-unit-tests-tsan workflow + mysqlx-tsan-g1 TAP group 2 months ago
no-infra-g1
pgsql-repl
pgsql-socket test(tap): fix setup-infras.bash and pgsql-unix_socket-t after local run 3 weeks ago
pgsql17-repl
rand5_admin_1
rand10_1
rand10_2
rand10_3
rand10_4
rand10_pg_1
set_parser_algorithm_3 fix(ci): rename set_parser_algorithm=3 group to avoid Docker network name issue 2 months ago
todo
unit-tests
README.md
check_groups.py ci(lint): catch TAP tests missing from groups.json on every PR 2 months ago
groups.json pgsql: omit port= when port==0 (Unix socket support) 3 weeks ago
lint_groups_json.py fix: reformat groups.json to one-line-per-entry and add --fix to linter 3 months 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.