Skip to content

Commit 400428b

Browse files
sanityclaude
andcommitted
ci: limit test threads to 8 to reduce flakiness
High-core-count runners (64 CPUs) run tests with too much parallelism, causing timing-sensitive network tests to fail intermittently. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 8756742 commit 400428b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,9 @@ jobs:
127127
rm -rf /tmp/freenet /tmp/freenet-* 2>/dev/null || true
128128
129129
- name: Test
130-
run: cargo test --workspace --no-default-features --features trace,websocket,redb
130+
# Limit test threads to reduce resource contention on high-core-count runners
131+
# Without this, 64+ parallel tests cause timing-sensitive network tests to fail
132+
run: cargo test --workspace --no-default-features --features trace,websocket,redb -- --test-threads=8
131133

132134
six_peer_regression:
133135
name: six-peer-regression

0 commit comments

Comments
 (0)