test: Increase timeouts to reduce flakes (#2406)

It's difficult to understand what's timing out due to a lock
vs. taking a long time. This should help resolve! 🕵️
This commit is contained in:
Kyle Carberry
2022-06-16 14:52:45 +00:00
committed by GitHub
parent a95d9b17f6
commit 5e673cc544
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ func TestServer(t *testing.T) {
assert.NoError(t, err)
client = codersdk.New(accessURL)
return true
}, 15*time.Second, 25*time.Millisecond)
}, time.Minute, 50*time.Millisecond)
_, err = client.CreateFirstUser(ctx, codersdk.CreateFirstUserRequest{
Email: "some@one.com",
Username: "example",