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
René Cannaò 74a33cac69
Merge pull request #5823 from sysown/v3.0_fix_ci-mysqlx-fetch-depth
2 weeks ago
..
deprecated
groups test(tap): fix setup-infras.bash and pgsql-unix_socket-t after local run 3 weeks ago
noise
tap test(framework): remove skip_all() — fail loudly on missing preconditions 1 month ago
test_helpers feat(plugins/genai): Step 5 — move GenAI/LLM/AI surface into the plugin 2 months ago
tests Merge pull request #5823 from sysown/v3.0_fix_ci-mysqlx-fetch-depth 2 weeks ago
tests_with_deps fix(test): deprecate_eof_cache-t SIGABRT on Galera + helper ABI bug (#5781) 2 months ago
Makefile
NOISE_TESTING.md
README.md
constants

README.md

Folder structure

  • tap: Contains TAP helper library for testing, and general utilities used across all tests.

  • tests: General test folder for either unitary or functional tests.

  • tests_with_deps: Test folder that holds all the tests that require special dependencies for being build.

  • tests_grp_*: tap test groups of specific tests with special configs applied via

    • pre-tests_grp_*.bash script run before tests
    • pre-tests_grp_*.sql script run before tests
    • post-tests_grp_*.bash script run after tests
    • post-tests_grp_*.sql script run after tests

example test group tests_grp_mytests can be created by

TG='mytests'
mkdir -p test/tap/tests_grp_$TG
cd test/tap/tests_grp_$TG
for T in $(ls -1 ../tests/); do ln -fsT ../tests/$T $T; done
cat > pre-test_grp_$TG-proxysql.sql << EOF
# run this test group with:
SET mysql-multiplexing='false';
LOAD MYSQL VARIABLES TO RUNTIME;
SAVE MYSQL VARIABLES TO DISK;
EOF