Skip to content

Commit

Permalink
Fix flaky test: process-wrapper_test.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 164963238
  • Loading branch information
philwo authored and hlopko committed Aug 11, 2017
1 parent 85c533c commit a3acb66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/shell/bazel/process-wrapper_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ function test_signal_death() {

function test_signal_catcher() {
local code=0
$process_wrapper --timeout=1 --kill_delay=2 --stdout=$OUT --stderr=$ERR /bin/sh -c \
$process_wrapper --timeout=1 --kill_delay=10 --stdout=$OUT --stderr=$ERR /bin/sh -c \
'trap "echo later; exit 0" INT TERM ALRM; sleep 10' &> $TEST_log || code=$?
assert_equals 142 "$code" # SIGNAL_BASE + SIGALRM = 128 + 14
assert_stdout "later"
Expand Down

0 comments on commit a3acb66

Please sign in to comment.