make app creation test short

This commit is contained in:
Andrew Nester 2025-01-14 16:51:29 +00:00
parent 833a3614a6
commit af6171d9b3
No known key found for this signature in database
GPG Key ID: 12BC628A44B7DA57
1 changed files with 5 additions and 6 deletions

View File

@ -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)