Skip to content

Commit

Permalink
testsuite: update test to populate failed stats
Browse files Browse the repository at this point in the history
Problem: the current stats tests don't test populating failed stats.

Submit two unsatisfiable jobs to generate failed job stats.
  • Loading branch information
milroy committed May 1, 2024
1 parent c7c3220 commit 9013583
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions t/t4000-match-params.t
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,9 @@ test_expect_success 'resource module stats and clear work' '
unload_resource &&
load_resource &&
load_qmanager_sync &&
# Submit unsatisfiable jobs to populate failed match stats
test_must_fail flux run -N 100 -n 400 -t 10s sleep 10 &&
test_must_fail flux run -N 100 -n 400 -t 10s sleep 10 &&
flux module stats sched-fluxion-resource &&
flux module stats --clear sched-fluxion-resource
'
Expand Down

0 comments on commit 9013583

Please sign in to comment.