Skip to content

Instantly share code, notes, and snippets.

@mrLSD
Last active February 7, 2018 12:13
Show Gist options
  • Select an option

  • Save mrLSD/a4e539d990aee8110be7956c16795c92 to your computer and use it in GitHub Desktop.

Select an option

Save mrLSD/a4e539d990aee8110be7956c16795c92 to your computer and use it in GitHub Desktop.
WARNING: DATA RACE
Write at 0x0000008f5418 by goroutine 38:
git.assembla.com/dragonsuite/dragonsuite/Libs/REQREP.TestSendEvent.func1.3()
/home/evgeny/go/src/git.assembla.com/dragonsuite/dragonsuite/Libs/REQREP/sender_test.go:245 +0x257
github.com/smartystreets/goconvey/convey.parseAction.func1()
/home/evgeny/go/src/github.com/smartystreets/goconvey/convey/discovery.go:80 +0x3d
github.com/smartystreets/goconvey/convey.(*context).conveyInner()
/home/evgeny/go/src/github.com/smartystreets/goconvey/convey/context.go:261 +0x1a9
github.com/smartystreets/goconvey/convey.(*context).Convey.func1()
/home/evgeny/go/src/github.com/smartystreets/goconvey/convey/context.go:163 +0x92
github.com/jtolds/gls.(*ContextManager).SetValues.func1()
/home/evgeny/go/src/github.com/jtolds/gls/context.go:97 +0x581
github.com/jtolds/gls.EnsureGoroutineId()
/home/evgeny/go/src/github.com/jtolds/gls/gid.go:19 +0x17f
github.com/jtolds/gls.(*ContextManager).SetValues()
/home/evgeny/go/src/github.com/jtolds/gls/context.go:63 +0x29e
github.com/smartystreets/goconvey/convey.(*context).Convey()
/home/evgeny/go/src/github.com/smartystreets/goconvey/convey/context.go:162 +0x305
github.com/smartystreets/goconvey/convey.Convey()
/home/evgeny/go/src/github.com/smartystreets/goconvey/convey/doc.go:77 +0x5f
git.assembla.com/dragonsuite/dragonsuite/Libs/REQREP.TestSendEvent.func1()
/home/evgeny/go/src/git.assembla.com/dragonsuite/dragonsuite/Libs/REQREP/sender_test.go:232 +0x19f
github.com/smartystreets/goconvey/convey.parseAction.func1()
/home/evgeny/go/src/github.com/smartystreets/goconvey/convey/discovery.go:80 +0x3d
github.com/smartystreets/goconvey/convey.(*context).conveyInner()
/home/evgeny/go/src/github.com/smartystreets/goconvey/convey/context.go:261 +0x1a9
github.com/smartystreets/goconvey/convey.rootConvey.func1()
/home/evgeny/go/src/github.com/smartystreets/goconvey/convey/context.go:110 +0x151
github.com/jtolds/gls.(*ContextManager).SetValues.func1()
/home/evgeny/go/src/github.com/jtolds/gls/context.go:97 +0x581
github.com/jtolds/gls.EnsureGoroutineId.func1()
/home/evgeny/go/src/github.com/jtolds/gls/gid.go:24 +0x45
github.com/jtolds/gls._m()
/home/evgeny/go/src/github.com/jtolds/gls/stack_tags.go:74 +0x42
github.com/jtolds/gls.github_com_jtolds_gls_markS()
/home/evgeny/go/src/github.com/jtolds/gls/stack_tags.go:54 +0x42
github.com/jtolds/gls.addStackTag()
/home/evgeny/go/src/github.com/jtolds/gls/stack_tags.go:49 +0x47
github.com/jtolds/gls.EnsureGoroutineId()
/home/evgeny/go/src/github.com/jtolds/gls/gid.go:24 +0x135
github.com/jtolds/gls.(*ContextManager).SetValues()
/home/evgeny/go/src/github.com/jtolds/gls/context.go:63 +0x29e
github.com/smartystreets/goconvey/convey.rootConvey()
/home/evgeny/go/src/github.com/smartystreets/goconvey/convey/context.go:105 +0x44a
github.com/smartystreets/goconvey/convey.Convey()
/home/evgeny/go/src/github.com/smartystreets/goconvey/convey/doc.go:75 +0x90
git.assembla.com/dragonsuite/dragonsuite/Libs/REQREP.TestSendEvent()
/home/evgeny/go/src/git.assembla.com/dragonsuite/dragonsuite/Libs/REQREP/sender_test.go:196 +0xd0
testing.tRunner()
/usr/local/go/src/testing/testing.go:777 +0x16d
Previous read at 0x0000008f5418 by goroutine 71:
git.assembla.com/dragonsuite/dragonsuite/Libs/REQREP.glob..func1()
/home/evgeny/go/src/git.assembla.com/dragonsuite/dragonsuite/Libs/REQREP/serve_test.go:21 +0x9c
git.assembla.com/dragonsuite/dragonsuite/Libs/REQREP.eventWorker.func2()
/home/evgeny/go/src/git.assembla.com/dragonsuite/dragonsuite/Libs/REQREP/serve.go:116 +0xa0
Goroutine 38 (running) created at:
testing.(*T).Run()
/usr/local/go/src/testing/testing.go:824 +0x55b
testing.runTests.func1()
/usr/local/go/src/testing/testing.go:1063 +0xa4
testing.tRunner()
/usr/local/go/src/testing/testing.go:777 +0x16d
testing.runTests()
/usr/local/go/src/testing/testing.go:1061 +0x4d8
testing.(*M).Run()
/usr/local/go/src/testing/testing.go:978 +0x2c4
main.main()
_testmain.go:62 +0x22a
Goroutine 71 (running) created at:
git.assembla.com/dragonsuite/dragonsuite/Libs/REQREP.eventWorker()
/home/evgeny/go/src/git.assembla.com/dragonsuite/dragonsuite/Libs/REQREP/serve.go:114 +0x1df
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment