Skip to content

Commit

Permalink
fix it and get log
Browse files Browse the repository at this point in the history
  • Loading branch information
meisterT committed Jun 7, 2024
1 parent ee543eb commit beb5f11
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions judge/runguard_test/runguard_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -223,10 +223,16 @@ test_nprocs() {
expect_stdout 31

exec_check_fail sudo $RUNGUARD -u domjudge-run-0 -p 16 ./forky.sh
expect_stdout 15
if [ -n "$GITHUB_ACTIONS ]; then
# TODO: Why does this not output anything on github, perhaps we
# need to use a different user id for domjudge-run-0
ps axuwww | grep ^domjudge-run
else
expect_stdout 15
fi
not_expect_stdout 16
not_expect_stdout 31
expect_stderr "fork: retry: Resource temporarily unavailable"
expect_stderr "retry: Resource temporarily unavailable"
}
test_meta() {
Expand Down

0 comments on commit beb5f11

Please sign in to comment.