mirror of
https://github.com/XRPLF/clio.git
synced 2026-06-02 16:26:43 +00:00
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
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.