Skip to content

Commit 8b2cc13

Browse files
konardclaude
andcommitted
fix(ci): run tests sequentially to avoid shared SpacetimeDB state conflicts
SpacetimeDB integration tests share a single server instance. When tests run in parallel (default behavior), concurrent delete_all() calls from different tests interfere with each other. Use --test-threads=1 to serialize all integration tests. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 29e94b7 commit 8b2cc13

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/rust-benchmark.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,8 @@ jobs:
125125
env:
126126
SPACETIMEDB_URI: http://localhost:3000
127127
SPACETIMEDB_DB: benchmark-links
128-
run: cargo test
128+
# Run tests sequentially to avoid parallel interference with shared SpacetimeDB state.
129+
run: cargo test -- --test-threads=1
129130

130131
benchmark:
131132
name: Benchmark

0 commit comments

Comments
 (0)