We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fcf599f commit 7129553Copy full SHA for 7129553
t/t2230-job-info-lookup.t
@@ -33,6 +33,14 @@ test_expect_success 'job-info: generate jobspec for simple test job' '
33
flux run --dry-run -n1 -N1 sleep 300 > sleeplong.json
34
'
35
36
+test_expect_success 'job-info.lookup returns jobid in response' '
37
+ jobid=$(submit_job) &&
38
+ id=$(flux job id --to=dec ${jobid}) &&
39
+ $jq -j -c -n "{id:${id}, keys:[\"jobspec\"], flags:0}" \
40
+ | $RPC job-info.lookup > job_info_lookup.out &&
41
+ cat job_info_lookup.out | $jq -e ".id == ${id}"
42
+'
43
+
44
#
45
# job info lookup list w/o jobid & keys
46
0 commit comments