Skip to content
Snippets Groups Projects
Unverified Commit 374a94e5 authored by Kyle Brennan's avatar Kyle Brennan Committed by GitHub
Browse files

[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
parent e12de07c
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment