Skip to content

Commit 8cc33ea

Browse files
committed
prevent double failure for exit test
1 parent 764633f commit 8cc33ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test-base/test_base.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,8 @@ def start_ruby_process(script)
111111
else
112112
status = wait_thr.value
113113
end
114-
fail "ERROR: \"#{process}\" failed with exitstatus=#{status.exitstatus}" unless status.success?
115114
@process_finished = true
115+
fail "ERROR: \"#{process}\" failed with exitstatus=#{status.exitstatus}" unless status.success?
116116
end
117117

118118
end

0 commit comments

Comments
 (0)