File tree 1 file changed +5
-1
lines changed
1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ func TestSupportBundle(t *testing.T) {
45
45
46
46
t .Run ("Workspace" , func (t * testing.T ) {
47
47
t .Parallel ()
48
- ctx := testutil . Context ( t , testutil . WaitShort )
48
+
49
49
var dc codersdk.DeploymentConfig
50
50
secretValue := uuid .NewString ()
51
51
seedSecretDeploymentOptions (t , & dc , secretValue )
@@ -61,6 +61,8 @@ func TestSupportBundle(t *testing.T) {
61
61
agents [0 ].Env ["SECRET_VALUE" ] = secretValue
62
62
return agents
63
63
}).Do ()
64
+
65
+ ctx := testutil .Context (t , testutil .WaitShort )
64
66
ws , err := client .Workspace (ctx , r .Workspace .ID )
65
67
require .NoError (t , err )
66
68
tempDir := t .TempDir ()
@@ -72,6 +74,8 @@ func TestSupportBundle(t *testing.T) {
72
74
defer agt .Close ()
73
75
coderdtest .NewWorkspaceAgentWaiter (t , client , r .Workspace .ID ).Wait ()
74
76
77
+ ctx = testutil .Context (t , testutil .WaitShort ) // Reset timeout after waiting for agent.
78
+
75
79
// Insert a provisioner job log
76
80
_ , err = db .InsertProvisionerJobLogs (ctx , database.InsertProvisionerJobLogsParams {
77
81
JobID : r .Build .JobID ,
You can’t perform that action at this time.
0 commit comments