Skip to content

Commit ebd7805

Browse files
Chemaclassclaude
andcommitted
fix(test): prevent inherited parallel mode in coverage subprocess
The parent bashunit process exports BASHUNIT_PARALLEL_RUN=true when running with --parallel. The coverage_hooks_test.sh subprocess inherits this, causing it to run in parallel mode unintentionally, which leads to hangs in CI. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 8768c33 commit ebd7805

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/acceptance/coverage_hooks_test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ function set_up_before_script() {
99

1010
function test_coverage_tracks_src_lines_executed_in_hooks() {
1111
local output
12-
output=$(./bashunit \
12+
output=$(BASHUNIT_PARALLEL_RUN=false ./bashunit \
1313
--coverage \
1414
--no-coverage-report \
1515
--coverage-paths "src/globals.sh" \

0 commit comments

Comments
 (0)