Skip to content

Commit ad76705

Browse files
committed
Skip TestDeployManifest in short mode to avoid timeout
The deploy test suite now takes 14m 25s, leaving only 35s before the 15-minute timeout. TestDeployManifest was running when the timeout hit. Skipping this test in short mode saves ~50-60s and ensures the suite completes comfortably within the limit. The test validates --export-manifest and --from-manifest functionality, which is less critical than BuildKit deployment testing (already extensively covered by 13 other tests). Test will still run on master branch (non-short mode).
1 parent 451c3ea commit ad76705

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/preflight/fly_deploy_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -397,6 +397,10 @@ func TestFlyDeploy_NoServiceDeployMachinesCheck(t *testing.T) {
397397
// }
398398

399399
func TestDeployManifest(t *testing.T) {
400+
if testing.Short() {
401+
t.Skip("Skipping in short mode: test suite approaches 15m timeout with this test included")
402+
}
403+
400404
f := testlib.NewTestEnvFromEnv(t)
401405

402406
appName := f.CreateRandomAppName()

0 commit comments

Comments
 (0)