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 integration tests #8177

Closed
e-dard opened this issue Mar 21, 2017 · 0 comments
Closed

Race in integration tests #8177

e-dard opened this issue Mar 21, 2017 · 0 comments

Comments

@e-dard
Copy link
Contributor

e-dard commented Mar 21, 2017

I hit this race on this build

==================
WARNING: DATA RACE
Read at 0x00c420a5f408 by goroutine 32:
  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

Previous write at 0x00c420a5f408 by goroutine 23:
  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

Goroutine 32 (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

Goroutine 23 (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
==================
FAIL	github.com/influxdata/influxdb/tests	3.558s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant