Skip to content

Commit cccd458

Browse files
rustyconoverclaude
andcommitted
scripts: exclude Catch2-hidden tests from integration -j 8 run
Pair with the cancel_on_limit rename to .test_slow on the C++ side. Without ~[.] the path-glob filter still matches the slow file and the flake recurs. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 129cf13 commit cccd458

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎scripts/run_all_tests.sh‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,8 +181,11 @@ run_pytest_job() {
181181

182182
run_integration_job() {
183183
cd /Users/rusty/Development/vgi || exit 99
184+
# `~[.]` excludes Catch2-hidden tests, i.e. `*.test_slow` files. These
185+
# tend to assert best-effort behavior (e.g. `on_cancel` firing) that
186+
# gets flaky under -j 8 contention; run them manually when needed.
184187
VGI_TEST_WORKER="uv run --project /Users/rusty/Development/vgi-python vgi-fixture-worker" \
185-
timeout 600 ./build/release/test/unittest -j 8 "test/sql/integration/*" >"$INT_LOG" 2>&1
188+
timeout 600 ./build/release/test/unittest -j 8 "test/sql/integration/*" "~[.]" >"$INT_LOG" 2>&1
186189
local rc=$?
187190
summarize_integration "$INT_LOG" "$INT_SUMMARY" "$INT_FAILURES"
188191
echo "exit=$rc" >>"$INT_SUMMARY"

0 commit comments

Comments
 (0)