The tests in this file are currently all marked with xfail_tablets, because tablets are not enabled by default in the cql-pytest suite and CDC doesn't currently work with tablets at all. This however means that the CDC functionality looses test coverage. So instead, of a blanket xfail, prametrize these tests to run with both vnodes and tablets, and add a targeted xfail for the tablets parameter. This way the no coverage is lost, the tests are still running with vnode (and will fail if regressions are introduced), and they are allowed to xfail with tablets enabled. We could simply make these tests only run with vnodes for now. But looking forward, after the CDC functionality is fixed to work with tablets, we want to verify that it works with both vnodes and tablets. So we run the test with both and leave the xfail as a remainder that a fix is required.
Scylla in-source tests.
For details on how to run the tests, see docs/dev/testing.md
Shared C++ utils, libraries are in lib/, for Python - pylib/
alternator - Python tests which connect to a single server and use the DynamoDB API unit, boost, raft - unit tests in C++ cql-pytest - Python tests which connect to a single server and use CQL topology* - tests that set up clusters and add/remove nodes cql - approval tests that use CQL and pre-recorded output rest_api - tests for Scylla REST API Port 9000 scylla-gdb - tests for scylla-gdb.py helper script nodetool - tests for C++ implementation of nodetool
If you can use an existing folder, consider adding your test to it. New folders should be used for new large categories/subsystems, or when the test environment is significantly different from some existing suite, e.g. you plan to start scylladb with different configuration, and you intend to add many tests and would like them to reuse an existing Scylla cluster (clusters can be reused for tests within the same folder).
To add a new folder, create a new directory, and then
copy & edit its suite.ini.