Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit cffa2f6

Browse files
committedJun 25, 2024·
Clean
1 parent e0d8555 commit cffa2f6

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed
 

‎integration/integration_test.go

+2-4
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,6 @@ func TestIntegration(t *testing.T) {
9191
ctrID := setup(ctx, t, tt.name)
9292
// Import named template
9393
_, rc := execContainer(ctx, t, ctrID, fmt.Sprintf(`coder templates push %s --directory /src/integration/%s --var output_path=/tmp/%s.json --yes`, tt.name, tt.name, tt.name))
94-
time.Sleep(10 * time.Minute)
95-
9694
require.Equal(t, 0, rc)
9795
// Create a workspace
9896
_, rc = execContainer(ctx, t, ctrID, fmt.Sprintf(`coder create %s -t %s --yes`, tt.name, tt.name))
@@ -166,9 +164,9 @@ func setup(ctx context.Context, t *testing.T, name string) string {
166164
"CODER_ACCESS_URL=" + localURL, // Set explicitly to avoid creating try.coder.app URLs.
167165
"CODER_IN_MEMORY=true", // We don't necessarily care about real persistence here.
168166
"CODER_TELEMETRY_ENABLE=false", // Avoid creating noise.
167+
"CODER_VERBOSE=TRUE", // Debug logging.
169168
"TF_CLI_CONFIG_FILE=/tmp/integration.tfrc", // Our custom tfrc from above.
170-
"TF_LOG=DEBUG",
171-
"CODER_VERBOSE=TRUE",
169+
"TF_LOG=DEBUG", // Debug logging in Terraform provider
172170
},
173171
Labels: map[string]string{},
174172
}, &container.HostConfig{

0 commit comments

Comments
 (0)
Please sign in to comment.