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

Race in TestServer_ConcurrentPointsWriter_Subscriber #8159

Closed
jwilder opened this issue Mar 17, 2017 · 0 comments
Closed

Race in TestServer_ConcurrentPointsWriter_Subscriber #8159

jwilder opened this issue Mar 17, 2017 · 0 comments

Comments

@jwilder
Copy link
Contributor

jwilder commented Mar 17, 2017

WARNING: DATA RACE
Write at 0x00c421697fc8 by goroutine 157:
  github.com/influxdata/influxdb/tests.(*LocalServer).Close()
      /root/go/src/github.com/influxdata/influxdb/tests/server_helpers.go:263 +0x142
  github.com/influxdata/influxdb/tests.TestServer_ConcurrentPointsWriter_Subscriber()
      /root/go/src/github.com/influxdata/influxdb/tests/server_test.go:7445 +0x13b
  testing.tRunner()
      /usr/local/go/src/testing/testing.go:610 +0xc9

Previous read at 0x00c421697fc8 by goroutine 223:
  github.com/influxdata/influxdb/tests.(*LocalServer).WritePoints()
      /root/go/src/github.com/influxdata/influxdb/tests/server_helpers.go:414 +0x40
  github.com/influxdata/influxdb/tests.TestServer_ConcurrentPointsWriter_Subscriber.func1()
      /root/go/src/github.com/influxdata/influxdb/tests/server_test.go:7436 +0x1db

Goroutine 157 (running) created at:
  testing.(*T).Run()
      /usr/local/go/src/testing/testing.go:646 +0x52f
  testing.RunTests.func1()
      /usr/local/go/src/testing/testing.go:793 +0xb9
  testing.tRunner()
      /usr/local/go/src/testing/testing.go:610 +0xc9
  testing.RunTests()
      /usr/local/go/src/testing/testing.go:799 +0x4ba
  testing.(*M).Run()
      /usr/local/go/src/testing/testing.go:743 +0x12f
  github.com/influxdata/influxdb/tests.TestMain()
      /root/go/src/github.com/influxdata/influxdb/tests/server_test.go:37 +0x18e
  main.main()
      github.com/influxdata/influxdb/tests/_test/_testmain.go:290 +0x1b5

Goroutine 223 (running) created at:
  github.com/influxdata/influxdb/tests.TestServer_ConcurrentPointsWriter_Subscriber()
      /root/go/src/github.com/influxdata/influxdb/tests/server_test.go:7439 +0x11f
  testing.tRunner()
      /usr/local/go/src/testing/testing.go:610 +0xc9
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