We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Im getting a race when running two tests in parallel that both create clients. Shouldn't there be a lock around that initializers map?
================== WARNING: DATA RACE Write at 0x00c00008b198 by goroutine 7: github.com/kmulvey/scratch/election.TestJoinElection() /opt/code/go/pkg/mod/github.com/docker/[email protected]/libkv.go:39 +0xfd testing.tRunner() /usr/lib/golang/src/testing/testing.go:865 +0x163 Previous write at 0x00c00008b198 by goroutine 8: github.com/kmulvey/scratch/election.TestJoinElectionFail() /opt/code/go/pkg/mod/github.com/docker/[email protected]/libkv.go:39 +0xf7 testing.tRunner() /usr/lib/golang/src/testing/testing.go:865 +0x163
libkv/libkv.go
Line 39 in 4589771
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Im getting a race when running two tests in parallel that both create clients. Shouldn't there be a lock around that initializers map?
libkv/libkv.go
Line 39 in 4589771
The text was updated successfully, but these errors were encountered: