-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[master]: (spurious?) failures of tests in tsdb/engine/tsm1 when compiled with go master #5854
Comments
Per ( @marcosnils) discussion in #general on slack.gopher.com, the go change that is responsible for the changed behaviour is possibly: rather than: See: https://gophers.slack.com/archives/general/p1456705357011065 |
So, in summary, it seems that the behaviour of testing.quick.Check in go tip has changed in way that is now exercising a code path that is causing a test failure. The change is that testing.quick.Check() is now generating nil slices for functions with slice arguments when previously it was not. |
My proposed fix for the issue checks for this case in the Check handler and alters the expected behaviour to the current actual behaviour for this case. If this is not actually the expected behaviour, then a separate issue needs to be raised to fix the expected behaviour. This fix probably needs to be accepted as is, so that every other build doesn't fail. |
RHS merges cleanly with 0.10.0 Signed-off-by: Jon Seymour <[email protected]>
Signed-off-by: Jon Seymour <[email protected]>
fix tests to cope with future changes to testing.quick.Check - see #5854
Closed because #5855 has been merged, |
The current docker build images used by the influxdata CI appear to compile with go master. Some tests in tsdb/engine/tsm1 fail when compiled with that go version (1d5001af), but not with an earlier version
like 1.6 (7bc40ffb)
A PR which demonstrates that the build failure disappears when using earlier versions of go will be submitted.
The test break is:
The text was updated successfully, but these errors were encountered: