Commit 5f1965c
committed
Fix retry loop in hosted-e2e by disabling errexit during cargo test
The retry loop was ineffective because GitHub Actions uses bash -e by default.
When cargo test failed, the script would exit immediately before capturing
the exit status, preventing attempts 2 and 3 from running. Added set +e
before the test command and set -e after capturing status to allow the
retry logic to function correctly.1 parent 13e5442 commit 5f1965c
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
916 | 916 | | |
917 | 917 | | |
918 | 918 | | |
| 919 | + | |
919 | 920 | | |
920 | 921 | | |
921 | 922 | | |
| 923 | + | |
922 | 924 | | |
923 | 925 | | |
924 | 926 | | |
| |||
0 commit comments