Skip to content

Commit ae2d9cf

Browse files
committed
Testsuite - Improve test21.23 avoiding false failures
Ensure that the job is done in the DB before removing the user in the DB.
1 parent 1ee206a commit ae2d9cf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎testsuite/expect/test21.23‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,8 +194,9 @@ subtest {[regexp "\n$wk2\|$cn\|$user_name\|" $output]} "Verify wk2"
194194
subtest {[regexp "\n$wk3\|$cn\|$user_name\|" $output]} "Verify wk3"
195195

196196
#
197-
# Use sacctmgr to delete test WCKeys
197+
# Use sacctmgr to delete test WCKeys, once job completion is received
198198
#
199+
wait_for_job_acct -fail $job_id "End"
199200
run_command -fail "$sacctmgr -i delete user $user_name wckey=$wk,$wk2,$wk3"
200201

201202
#

0 commit comments

Comments
 (0)