Skip to content
New issue

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

Data race #284

Open
Skarlso opened this issue Aug 6, 2020 · 0 comments
Open

Data race #284

Skarlso opened this issue Aug 6, 2020 · 0 comments

Comments

@Skarlso
Copy link
Member

Skarlso commented Aug 6, 2020

Got to look at this later on:

=== RUN   TestGetWorkServer
==================
WARNING: DATA RACE
Write at 0x0000018cdea0 by goroutine 50:
  github.com/gaia-pipeline/gaia/workers/server.TestGetWorkServer()
      /go/src/github.com/gaia-pipeline/gaia/workers/server/worker_test.go:140 +0xf8
  testing.tRunner()
      /usr/local/go/src/testing/testing.go:909 +0x199

Previous read at 0x0000018cdea0 by goroutine 48:
  [failed to restore the stack]

Goroutine 50 (running) created at:
  testing.(*T).Run()
      /usr/local/go/src/testing/testing.go:960 +0x651
  testing.runTests.func1()
      /usr/local/go/src/testing/testing.go:1202 +0xa6
  testing.tRunner()
      /usr/local/go/src/testing/testing.go:909 +0x199
  testing.runTests()
      /usr/local/go/src/testing/testing.go:1200 +0x521
  testing.(*M).Run()
      /usr/local/go/src/testing/testing.go:1117 +0x2ff
  main.main()
      _testmain.go:110 +0x337

Goroutine 48 (running) created at:
  github.com/gaia-pipeline/gaia/workers/server.TestStart()
      /go/src/github.com/gaia-pipeline/gaia/workers/server/server_test.go:41 +0x4f1
  testing.tRunner()
      /usr/local/go/src/testing/testing.go:909 +0x199
==================
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant