Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1300009

Browse files
committed
Increase timeout for windows
1 parent d599851 commit 1300009

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coderd/workspaceagents_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1343,7 +1343,7 @@ func TestWorkspaceAgent_Metadata(t *testing.T) {
13431343
check := func(want codersdk.WorkspaceAgentMetadataResult, got codersdk.WorkspaceAgentMetadata) {
13441344
require.WithinDuration(t, want.CollectedAt, got.Result.CollectedAt, time.Second)
13451345
require.WithinDuration(
1346-
t, time.Now(), got.Result.CollectedAt.Add(time.Duration(got.Result.Age)*time.Second), time.Millisecond*100,
1346+
t, time.Now(), got.Result.CollectedAt.Add(time.Duration(got.Result.Age)*time.Second), time.Millisecond*500,
13471347
)
13481348
require.Equal(t, want.Value, got.Result.Value)
13491349
require.Equal(t, want.Error, got.Result.Error)

0 commit comments

Comments
 (0)