Skip to content

Commit c261c88

Browse files
committed
chore: Ooof, so slow
1 parent 421e52d commit c261c88

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

coderd/users_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1096,7 +1096,7 @@ func TestPaginatedUsers(t *testing.T) {
10961096
coderdtest.CreateFirstUser(t, client)
10971097

10981098
// This test takes longer than a long time.
1099-
ctx, cancel := context.WithTimeout(context.Background(), testutil.WaitLong*2)
1099+
ctx, cancel := context.WithTimeout(context.Background(), testutil.WaitLong*4)
11001100
defer cancel()
11011101

11021102
me, err := client.User(ctx, codersdk.Me)
@@ -1110,6 +1110,7 @@ func TestPaginatedUsers(t *testing.T) {
11101110
specialUsers := make([]codersdk.User, total/2)
11111111

11121112
eg, egCtx := errgroup.WithContext(ctx)
1113+
eg.SetLimit(10)
11131114
// Create users
11141115
for i := 0; i < total; i++ {
11151116
i := i

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy