Files
clio/tests/integration
Sergey Kuznetsov d056c72212 test: Fix integration tests (#3072)
Fix 2 issues in integration tests:
- `127.0.0.2` is forwarded to localhost on macos
- Keyspace is always dropped in test's destructor but it may not exist
2026-05-12 13:49:39 +01:00
..
2026-05-12 13:49:39 +01:00

Integration testing

Tests that hit the real database are separate from the unit test suite found under tests/unit.

Requirements

Cassandra/ScyllaDB cluster

If you wish to test the backend component you will need to have access to a local (127.0.0.1) Cassandra cluster, opened at port 9042. Please ensure that the cluster is successfully running before running these tests.

Running

To run the DB tests, first build Clio as normal, then execute ./clio_integration_tests to run all database tests.