We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 421e52d commit c261c88Copy full SHA for c261c88
coderd/users_test.go
@@ -1096,7 +1096,7 @@ func TestPaginatedUsers(t *testing.T) {
1096
coderdtest.CreateFirstUser(t, client)
1097
1098
// This test takes longer than a long time.
1099
- ctx, cancel := context.WithTimeout(context.Background(), testutil.WaitLong*2)
+ ctx, cancel := context.WithTimeout(context.Background(), testutil.WaitLong*4)
1100
defer cancel()
1101
1102
me, err := client.User(ctx, codersdk.Me)
@@ -1110,6 +1110,7 @@ func TestPaginatedUsers(t *testing.T) {
1110
specialUsers := make([]codersdk.User, total/2)
1111
1112
eg, egCtx := errgroup.WithContext(ctx)
1113
+ eg.SetLimit(10)
1114
// Create users
1115
for i := 0; i < total; i++ {
1116
i := i
0 commit comments