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
Does not work with go 1.7 #9
Comments
What platform are you on? All the tests pass for me on |
To make sure I did the experiment again on a host that has never seen any Go toolchain before. Linux amd64 is the platform: root@es02 /tmp/src # go version import ( func TestFoo(t _testing.T) { |
Very odd - travis tests all seem ok - just added that function to the test suite in |
The OS does not matter here. I work on Arch Linux where I saw the problem, but my output from above was on Ubuntu 14.04 where I reproduced it to make sure it is not a local issue with the Go installation. |
If you have Docker installed on your Mac, here's a quick way to reproduce the bug: ➜ bug docker build -t bug . |
Just found out: -race actually hides the bug. Run the tests without -race to see it! |
Hmm, added a test to travis that doesn't use Will boot up my other computer in a bit and test this out, can't replicate locally on OS X without |
It looks like the tests went through a fairly large refactor. You can "fix" it by adding |
After playing with this more, I've been able to reproduce this when specifying a package with |
ah perfect, I couldn't manage to reproduce this on any machine I had, but didn't try |
With Go 1.7, there is always a leaked Gorouting reported, even for empty tests:
The text was updated successfully, but these errors were encountered: