Skip to content

Commit b20460a

Browse files
authored
Merge pull request #5291 from chu11/issue5290_testsuite_timeout
testsuite: fix occasional broker kill error
2 parents 49c59b5 + 01e393b commit b20460a

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

t/t0014-runlevel.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ test_expect_success 'rc1 bad path handled same as failure' '
3232
'
3333

3434
test_expect_success 'default initial program is $SHELL' '
35-
run_timeout --env=SHELL=/bin/sh 15 \
35+
run_timeout --env=SHELL=/bin/sh 60 \
3636
flux $SHARNESS_TEST_SRCDIR/scripts/runpty.py -i none \
3737
flux start -o,-Slog-stderr-level=6 \
3838
-o,-Sbroker.rc1_path=,-Sbroker.rc3_path= \

t/t3203-instance-recovery.t

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,12 @@ test -n "$FLUX_TESTS_LOGFILE" && set -- "$@" --logfile
99

1010
runpty="flux ${SHARNESS_TEST_SRCDIR}/scripts/runpty.py"
1111

12+
# N.B. Increase test-exit-timeout from default of 20s, on slower / busy
13+
# systems timeout can trigger and kill broker.
1214
test_expect_success 'start a persistent instance of size 4' '
1315
mkdir -p test1 &&
14-
flux start --test-size=4 -o,-Sstatedir=$(pwd)/test1 /bin/true
16+
flux start --test-size=4 --test-exit-timeout=300s \
17+
-o,-Sstatedir=$(pwd)/test1 /bin/true
1518
'
1619
test_expect_success 'expected broker attributes are set in recovery mode' '
1720
cat >recov_attrs.exp <<-EOT &&

0 commit comments

Comments
 (0)