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
intermittent test failures with version 2.0 #20
Comments
No. I will have to look at this later for you since my workday is starting. Can you also add your Go version? (I doubt it's an issue but it might help.) |
Thanks for looking into this! The 2 failures above are with go 1.8 on fedora rawhide, where the tests fail randomly about 1 out of 6 times. I just did some tests with go 1.7.5, where failures are about this frequent, too. |
Signed-off-by: Jeremy Bowers <jerf@jerf.org>
I've added a branch called issue_20 to try to resolve this. This test was trying to ensure that the service tokens for different supervisors are sufficiently isolated from each other that we can detect if you "cross the streams" between two supervisors. I think I just happened to code in a constant in the tests, assuming that the supervisor in the test would never have a particular supervisor ID, that it can in fact sometimes have depending on the order the parallel tests run in. The issue_20 branch has a fix for the test which is a safe fix. If it makes the problem go away, then this may turn out to "just" be a bug in the tests. Please let me know. If this works I'll put out a 2.0.1. |
Oh, and I just figured out the connection between your name and your avatar. Nice. |
I'm running a couple of test builds while I'm AFK. But so far, it looks like the change you made fixed the tests. BTW, I think you're the first one to get that pun ;) |
Looks good, 20+ succeeded builds. You don't necessarily need to tag a new version, a commit in master is enough for me. |
Thank you for your report. I do have to push a new tag and release out, though, because Debian has decided to package this, and if my tests have failures, it's only a matter of time before I hear from them. :) |
Thank you for fixing this so quickly! :) |
I'm trying to build a fedora package for this go library, but I'm getting semi-random test failures, for example:
or a second failure:
Any idea what might be causing this?
The text was updated successfully, but these errors were encountered: