From af6171d9b3c0e4179c6667b82b4421bb9f52c98b Mon Sep 17 00:00:00 2001 From: Andrew Nester Date: Tue, 14 Jan 2025 16:51:29 +0000 Subject: [PATCH] make app creation test short --- integration/bundle/apps_test.go | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/integration/bundle/apps_test.go b/integration/bundle/apps_test.go index 2da764ed8..913d99afe 100644 --- a/integration/bundle/apps_test.go +++ b/integration/bundle/apps_test.go @@ -16,12 +16,6 @@ import ( func TestDeployBundleWithApp(t *testing.T) { ctx, wt := acc.WorkspaceTest(t) - // TODO: should only skip app run when app can be created with no_compute option. - if testing.Short() { - t.Log("Skip the app creation and run in short mode") - return - } - if testutil.GetCloud(t) == testutil.GCP { t.Skip("Skipping test for GCP cloud because /api/2.0/apps is temporarily unavailable there.") } @@ -80,6 +74,11 @@ env: - name: JOB_ID value: "%d"`, job.JobId)) + if testing.Short() { + t.Log("Skip the app run in short mode") + return + } + // Try to run the app _, out := runResourceWithStderr(t, ctx, root, "test_app") require.Contains(t, out, app.Url)