Skip to content

Commit

Permalink
testsuite: early shell error without version num
Browse files Browse the repository at this point in the history
Problem: other commits in this PR allow version numbers other than 1,
so we need a different parameter in t2608 to cause early shell error

Modifies the early fatal error test in t2608 to use an integer instead
of required dictionary for '.attributes.system.environment'
  • Loading branch information
sam-maloney committed Mar 6, 2025
1 parent d8166ae commit 748e638
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/t2608-job-shell-log.t
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ test_expect_success 'flux-shell: stdout/err from task.exec works' '
test_expect_success 'flux-shell: early fatal errors are captured in eventlog' '
flux jobtap load alloc-bypass.so &&
id=$(flux run --dry-run -Salloc-bypass.R="$(flux resource R -i0)" true | \
jq .version=2 | \
jq '.attributes.system.environment=1' | \
flux job submit --flags=novalidate) &&
echo jobid=$id &&
flux job wait-event -Hvt 30 $id clean &&
Expand Down

0 comments on commit 748e638

Please sign in to comment.