Skip to content

Commit

Permalink
tests: don't fail on cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
lgarrison committed Dec 3, 2024
1 parent bee1f31 commit 82463c9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion tests/test_slurm/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,5 @@ cd - > /dev/null

trap - ERR
echo "Slurm test passed."
rm -rf $workdir
# NFS sometimes leaves stale file handles, but don't fail the test
rm -rf $workdir || true
3 changes: 2 additions & 1 deletion tests/test_ssh/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,5 @@ cd - > /dev/null

trap - ERR
echo "SSH test passed."
rm -rf $workdir
# NFS sometimes leaves stale file handles, but don't fail the test
rm -rf $workdir || true

0 comments on commit 82463c9

Please sign in to comment.