Commit 6220ab8
committed
Add retry logic to TestFlyDeploy_Dockerfile for SSH failures
The test was failing due to transient WireGuard API errors when
establishing SSH tunnels:
Error: ssh: can't build tunnel: failed to run mutation addWireGuardPeer:
server returned a non-200 status code: 500
Changed to use FlyAllowExitFailure instead of Fly, so the EventuallyWithT
retry logic can handle these transient failures. The test now retries SSH
connections for up to 30 seconds (15 attempts @ 2s intervals).
This makes the test more resilient to temporary backend issues while
still validating that the deployed app has the correct environment.1 parent ad76705 commit 6220ab8
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
178 | | - | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
179 | 184 | | |
180 | 185 | | |
181 | 186 | | |
| |||
0 commit comments