Files
scylladb/test/ldap
Andrzej Jackowski adf1e26bab test: ldap: add test for pruner crash during shutdown
Verify that service::stop() drains the LDAP pruner before
clearing the permission loader. The test installs a slow
permission loader and confirms the pruner is actively
reloading when teardown begins.

Refs SCYLLADB-1679
2026-04-24 13:34:09 +02:00
..
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00

Running tests with pytest

To run test with pytest execute

pytest test/ldap

To execute only one file, provide the path filename

pytest test/unit/role_manager_test.cc

Since it's a normal path, autocompletion works in the terminal out of the box.

To provide a specific mode, use the next parameter --mode dev, if parameter isn't provided pytest tries to use ninja mode_list to find out the compiled modes.

Parallel execution is controlled by pytest-xdist and the parameter -n auto. This command starts tests with the number of workers equal to CPU cores.