From 9013583247d4a44bcaba17ee25528cc80973578a Mon Sep 17 00:00:00 2001 From: Daniel Milroy Date: Wed, 1 May 2024 09:57:18 -0700 Subject: [PATCH] testsuite: update test to populate failed stats Problem: the current stats tests don't test populating failed stats. Submit two unsatisfiable jobs to generate failed job stats. --- t/t4000-match-params.t | 3 +++ 1 file changed, 3 insertions(+) diff --git a/t/t4000-match-params.t b/t/t4000-match-params.t index 6f31687e9..7d9cb9386 100755 --- a/t/t4000-match-params.t +++ b/t/t4000-match-params.t @@ -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 '