[tests] try a sync.Map to help failures (#18471)
We're getting: fatal error: concurrent map writes fatal error: concurrent map writes goroutine 305 [running]: github.com/gitpod-io/gitpod/test/pkg/integration.(*ComponentAPI).DB(0xc0005fee40?, {0x0, 0x0, 0x0?}) /__w/gitpod/gitpod/test/pkg/integration/apis.go:839 +0x2c7 github.com/gitpod-io/gitpod/test/pkg/integration.(*ComponentAPI).GetUserId(0x6fc23ac00?, {0x7ffff83516db, 0x17}) /__w/gitpod/gitpod/test/pkg/integration/apis.go:410 +0x34 github.com/gitpod-io/gitpod/test/pkg/integration.LaunchWorkspaceWithOptions(0xc0007a04e0, {0x3030e70, 0xc00079f410}, 0xc000adbd60, {0x7ffff83516db, 0x17}, 0xc0007af110, {0x0, 0x0, 0x0}) /__w/gitpod/gitpod/test/pkg/integration/workspace.go:368 +0x465 github.com/gitpod-io/gitpod/test/pkg/integration.LaunchWorkspaceFromContextURL(0xc00006000b?, {0x3030e70?, 0xc00079f410?}, {0x2be023a?, 0xf?}, {0x7ffff83516db?, 0x0?}, 0x0?, {0x0, 0x0, ...}) /__w/gitpod/gitpod/test/pkg/integration/workspace.go:325 +0x8d github.com/gitpod-io/gitpod/test/tests/workspace.runContextTests.func1.1(0xc0007a04e0) /__w/gitpod/gitpod/test/tests/workspace/contexts_test.go:142 +0x406 testing.tRunner(0xc0007a04e0, 0xc000aa37a0) /home/gitpod/go/src/testing/testing.go:1576 +0x10b created by testing.(*T).Run /home/gitpod/go/src/testing/testing.go:1629 +0x3ea
Loading
Please register or sign in to comment