Skip to content

Commit 0067432

Browse files
committed
testsuite: prepare for flux_job_wait(3) change
Problem: some tests presume that only jobs submitted with the 'waitable' flag will contribute to the return value of flux job wait --all, but flux-framework/flux-core#8357 proposes to make all jobs waitable, regardless of the flag. Ensure that t1023-multiqueue-constraints.t consumes residual wait state before starting the array of waitable jobs.
1 parent 991d370 commit 0067432

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

t/t1023-multiqueue-constraints.t

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,9 @@ test_expect_success 'a job with multiple constraints works in both queues' '
9595
test_expect_success 'stop queues' '
9696
flux queue stop --all
9797
'
98+
test_expect_success 'consume wait status so far' '
99+
test_might_fail flux job wait --all
100+
'
98101
test_expect_success 'submit a held job to the first queue' '
99102
flux submit --flags=waitable \
100103
--queue=debug --urgency=hold /bin/true >job3.out

0 commit comments

Comments
 (0)