Skip to content

Commit

Permalink
t1030: update test error message
Browse files Browse the repository at this point in the history
Problem: The priority plugin prefixes the error message for an invalid
queue with "mf_priority:", which is not included in the "grep" check in
t1030-mf-priority-update-queue.t.

Update the error message to include this prefix.
  • Loading branch information
cmoussa1 committed Oct 12, 2023
1 parent f1570d4 commit 7661d5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/t1030-mf-priority-update-queue.t
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ test_expect_success 'update of queue of pending job works' '
test_expect_success 'updating a job using a queue the user does not belong to fails' '
test_must_fail flux update $jobid1 queue=gold > unavail_queue.out 2>&1 &&
test_debug "cat unavail_queue.out" &&
grep "ERROR: Queue not valid for user: gold" unavail_queue.out
grep "ERROR: mf_priority: queue not valid for user: gold" unavail_queue.out
'

test_expect_success 'cancel job' '
Expand Down

0 comments on commit 7661d5a

Please sign in to comment.