You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Cassandra direct test harness hardcodes 127.0.0.1:9042 with no override #580
The Cassandra direct test harness hardcodes its node: crates/storage-cassandra/tests/common/mod.rs::test_config sets contact_points to 127.0.0.1:9042, and skip_without_cassandra probes the same literal to decide whether to skip. There is no environment override. Two jobs or two developers on one host cannot run the suite against separate nodes, and a run whose 9042 is taken by another container (which happened three times on 2026-10-25 on a shared host) has no way to point the tests at its own node short of editing the harness.
The CI job runs one node on 9042 and is not affected. The three other backends' harnesses read their connection from an environment variable (EXTENDDB_TEST_PG_CONNECTION_STRING, EXTENDDB_TEST_MONGODB_URI).
Fix shape
Read the contact point from EXTENDDB_TEST_CASSANDRA_CONTACT_POINT with 127.0.0.1:9042 as the default in both functions, and mention the variable in devtools/run-cassandra-tests's header beside EXTENDDB_TEST_CASSANDRA=required.
Fixed by #681. The Cassandra direct test harness reads its node from EXTENDDB_TEST_CASSANDRA_CONTACT_POINT, with 127.0.0.1:9042 as the default, in both test_config and skip_without_cassandra, and the Cassandra workflow sets the variable. The header of devtools/run-cassandra-tests and the module comments of direct_integration.rs and ttl_integration.rs do not mention the variable yet; #586 has those changes.
Activity
LeeroyHannigan commentedon Nov 3, 2026
Fixed by #681. The Cassandra direct test harness reads its node from
EXTENDDB_TEST_CASSANDRA_CONTACT_POINT, with127.0.0.1:9042as the default, in bothtest_configandskip_without_cassandra, and the Cassandra workflow sets the variable. The header ofdevtools/run-cassandra-testsand the module comments ofdirect_integration.rsandttl_integration.rsdo not mention the variable yet; #586 has those changes.