Skip to content

Commit

Permalink
testsuite: drop test of invalid R
Browse files Browse the repository at this point in the history
Problem: a job exec test that fakes an invalid R by
placing it in the KVS no longer works because R comes
directly from the job manager.

Remove the test for now.
  • Loading branch information
garlick committed Oct 24, 2023
1 parent d25ad05 commit 84897c3
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions t/t2400-job-exec-test.t
Original file line number Diff line number Diff line change
Expand Up @@ -72,15 +72,6 @@ test_expect_success 'job-exec: mock exception during run' '
flux job eventlog ${jobid} > eventlog.${jobid}.out &&
grep "finish status=15" eventlog.${jobid}.out
'
test_expect_success 'job-exec: R with invalid expiration raises exception' '
flux module unload job-exec &&
jobid=$(flux job submit basic.json) &&
key=$(flux job id --to=kvs $jobid).R &&
R=$(flux kvs get --wait $key | jq -c ".execution.expiration = -1.") &&
flux kvs put ${key}=${R} &&
flux module load job-exec &&
flux job wait-event -v $jobid exception
'
test_expect_success 'start request with empty payload fails with EPROTO(71)' '
${RPC} job-exec.start 71 </dev/null
'
Expand Down

0 comments on commit 84897c3

Please sign in to comment.