@@ -42,7 +42,7 @@ func TestWorkspaceBuild(t *testing.T) {
42
42
propagation.Baggage {},
43
43
),
44
44
)
45
- ctx := testutil .Context (t , testutil .WaitShort )
45
+ ctx := testutil .Context (t , testutil .WaitLong )
46
46
auditor := audit .NewMock ()
47
47
client , db := coderdtest .NewWithDatabase (t , & coderdtest.Options {
48
48
IncludeProvisionerDaemon : true ,
@@ -1244,7 +1244,7 @@ func TestWorkspaceBuildTimings(t *testing.T) {
1244
1244
1245
1245
// When: fetching an inexistent build
1246
1246
buildID := uuid .New ()
1247
- ctx , cancel := context .WithTimeout (context .Background (), testutil .WaitShort )
1247
+ ctx , cancel := context .WithTimeout (context .Background (), testutil .WaitLong )
1248
1248
t .Cleanup (cancel )
1249
1249
_ , err := client .WorkspaceBuildTimings (ctx , buildID )
1250
1250
@@ -1258,7 +1258,7 @@ func TestWorkspaceBuildTimings(t *testing.T) {
1258
1258
1259
1259
// When: fetching timings for a build with no timings
1260
1260
build := makeBuild ()
1261
- ctx , cancel := context .WithTimeout (context .Background (), testutil .WaitShort )
1261
+ ctx , cancel := context .WithTimeout (context .Background (), testutil .WaitLong )
1262
1262
t .Cleanup (cancel )
1263
1263
res , err := client .WorkspaceBuildTimings (ctx , build .ID )
1264
1264
@@ -1276,7 +1276,7 @@ func TestWorkspaceBuildTimings(t *testing.T) {
1276
1276
provisionerTimings := dbgen .ProvisionerJobTimings (t , db , build , 5 )
1277
1277
1278
1278
// Then: return a response with the expected timings
1279
- ctx , cancel := context .WithTimeout (context .Background (), testutil .WaitShort )
1279
+ ctx , cancel := context .WithTimeout (context .Background (), testutil .WaitLong )
1280
1280
t .Cleanup (cancel )
1281
1281
res , err := client .WorkspaceBuildTimings (ctx , build .ID )
1282
1282
require .NoError (t , err )
@@ -1312,7 +1312,7 @@ func TestWorkspaceBuildTimings(t *testing.T) {
1312
1312
agentScriptTimings := dbgen .WorkspaceAgentScriptTimings (t , db , script , 5 )
1313
1313
1314
1314
// Then: return a response with the expected timings
1315
- ctx , cancel := context .WithTimeout (context .Background (), testutil .WaitShort )
1315
+ ctx , cancel := context .WithTimeout (context .Background (), testutil .WaitLong )
1316
1316
t .Cleanup (cancel )
1317
1317
res , err := client .WorkspaceBuildTimings (ctx , build .ID )
1318
1318
require .NoError (t , err )
@@ -1342,7 +1342,7 @@ func TestWorkspaceBuildTimings(t *testing.T) {
1342
1342
})
1343
1343
1344
1344
// Then: return a response with empty agent script timings
1345
- ctx , cancel := context .WithTimeout (context .Background (), testutil .WaitShort )
1345
+ ctx , cancel := context .WithTimeout (context .Background (), testutil .WaitLong )
1346
1346
t .Cleanup (cancel )
1347
1347
res , err := client .WorkspaceBuildTimings (ctx , build .ID )
1348
1348
require .NoError (t , err )
@@ -1360,7 +1360,7 @@ func TestWorkspaceBuildTimings(t *testing.T) {
1360
1360
})
1361
1361
1362
1362
// Then: return a response with empty agent script timings
1363
- ctx , cancel := context .WithTimeout (context .Background (), testutil .WaitShort )
1363
+ ctx , cancel := context .WithTimeout (context .Background (), testutil .WaitLong )
1364
1364
t .Cleanup (cancel )
1365
1365
res , err := client .WorkspaceBuildTimings (ctx , build .ID )
1366
1366
require .NoError (t , err )
0 commit comments