Skip to content
This repository was archived by the owner on Jun 20, 2024. It is now read-only.

Data Race in TestTombstoneDeletion #1181

Closed
tomwilkie opened this issue Jul 17, 2015 · 0 comments
Closed

Data Race in TestTombstoneDeletion #1181

tomwilkie opened this issue Jul 17, 2015 · 0 comments
Assignees
Milestone

Comments

@tomwilkie
Copy link
Contributor

==================
WARNING: DATA RACE
Write by goroutine 11:
  github.com/weaveworks/weave/nameserver.TestTombstoneDeletion()
      /home/go/src/github.com/weaveworks/weave/nameserver/nameserver_test.go:223 +0xd7
  testing.tRunner()
      /usr/local/go/src/testing/testing.go:447 +0x133

Previous read by goroutine 32:
  github.com/weaveworks/weave/nameserver.(*Nameserver).receiveGossip()
      github.com/weaveworks/weave/nameserver/_test/_obj_test/nameserver.go:267 +0x2dd
  github.com/weaveworks/weave/nameserver.(*Nameserver).OnGossip()
      github.com/weaveworks/weave/nameserver/_test/_obj_test/nameserver.go:302 +0xab
  github.com/weaveworks/weave/testing/gossip.(*TestRouter).run()
      /home/go/src/github.com/weaveworks/weave/testing/gossip/mocks.go:107 +0x5aa

Goroutine 11 (running) created at:
  testing.RunTests()
      /usr/local/go/src/testing/testing.go:555 +0xd4e
  testing.(*M).Run()
      /usr/local/go/src/testing/testing.go:485 +0xe0
  main.main()
      github.com/weaveworks/weave/nameserver/_test/_testmain.go:124 +0x381

Goroutine 32 (running) created at:
  github.com/weaveworks/weave/testing/gossip.(*TestRouter).Connect()
      /home/go/src/github.com/weaveworks/weave/testing/gossip/mocks.go:124 +0x9e
  github.com/weaveworks/weave/nameserver.makeNetwork()
      /home/go/src/github.com/weaveworks/weave/nameserver/nameserver_test.go:26 +0x32b
  github.com/weaveworks/weave/nameserver.TestNameservers()
      /home/go/src/github.com/weaveworks/weave/nameserver/nameserver_test.go:76 +0x4b
  testing.tRunner()
      /usr/local/go/src/testing/testing.go:447 +0x133
==================
FAIL
coverage: 60.4% of statements
FAIL    github.com/weaveworks/weave/nameserver  7.129s
@tomwilkie tomwilkie self-assigned this Jul 17, 2015
@tomwilkie tomwilkie added this to the current milestone Jul 17, 2015
@tomwilkie tomwilkie changed the title Data Race in TestNameservers Data Race in TestTombstoneDeletion Jul 17, 2015
@rade rade modified the milestones: current, 1.1.0 Jul 21, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants