Skip to content

Commit f336093

Browse files
committed
CI: Find stale keyspaces after tests
1 parent 97d9698 commit f336093

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/cassandra.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ jobs:
2929
- name: Run tests on cassandra
3030
run: |
3131
RUSTFLAGS="--cfg cassandra_tests" RUST_LOG=trace SCYLLA_URI=172.42.0.2:9042 SCYLLA_URI2=172.42.0.3:9042 SCYLLA_URI3=172.42.0.4:9042 cargo test --features "full-serialization" -- --skip test_views_in_schema_info --skip test_large_batch_statements
32+
- name: Check for stale test keyspaces
33+
run: SCYLLA_URI=172.42.0.2:9042 cargo run --bin find_stale_test_keyspaces
3234
- name: Stop the cluster
3335
if: ${{ always() }}
3436
run: docker compose -f test/cluster/cassandra/docker-compose.yml stop

.github/workflows/rust.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,8 @@ jobs:
100100
- name: Run tests
101101
run: |
102102
RUST_LOG=trace SCYLLA_URI=172.42.0.2:9042 SCYLLA_URI2=172.42.0.3:9042 SCYLLA_URI3=172.42.0.4:9042 cargo test --features "full-serialization"
103+
- name: Check for stale test keyspaces
104+
run: SCYLLA_URI=172.42.0.2:9042 cargo run --bin find_stale_test_keyspaces
103105
- name: Stop the cluster
104106
if: ${{ always() }}
105107
run: docker compose -f test/cluster/docker-compose.yml stop

0 commit comments

Comments
 (0)