Skip to content

Commit

Permalink
Merge pull request #4247 from grondo/issue#4109
Browse files Browse the repository at this point in the history
testsuite: fix a couple intermittent test failures
  • Loading branch information
mergify[bot] authored Mar 30, 2022
2 parents 227091b + e924dbc commit 88839a2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions t/t0007-ping.t
Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,10 @@ test_expect_success 'ping help output works' '
'

test_expect_success 'ping works with hostname' '
flux ping --count=1 $(hostname -s)
flux ping --count=1 $(hostname)
'
test_expect_success 'ping works with hostname!service' '
flux ping --count=1 "$(hostname -s)!broker"
flux ping --count=1 "$(hostname)!broker"
'
test_expect_success 'ping fails with unknown hostname' '
test_must_fail flux ping --count=1 "notmyhost!broker"
Expand Down
3 changes: 2 additions & 1 deletion t/t2900-job-timelimits.t
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ test_expect_success HAVE_JQ 'job timelimits are propagated' '
id1=\$(flux mini submit --wait-event=start sleep 300)
flux jobs -no "{id.f58} {expiration}"
test "\$(flux jobs -no {expiration} \$id1)" = "\$expiration"
exp1=\$(flux jobs -no {expiration} \$id1)
test "\$(round \$exp1)" = "\$(round \${expiration})"
flux job cancelall -f
id2=\$(flux mini submit --wait-event=start -t 1m sleep 300)
Expand Down

0 comments on commit 88839a2

Please sign in to comment.