-
Notifications
You must be signed in to change notification settings - Fork 27
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
Failing Travis tests #55
Comments
Correct, initially I was very pedantic about maximum test coverage, maybe the ratio tests are too strict though and perhaps should be refactored to simply expect an output of a certain length, rather than a specific ratio. I will do it eventually, but don't mind being pre-empted. :) 👍 |
You can probably use regular expressions in the cram tests, I've done that already in a few places, feel free to use that as template. |
The |
Would this be an appropriate change for the ratio tests?
|
Yeah, that would be fine. |
I want to respect the pedantry, but I'm not quite sure on how to do that without making the tests a bit more complex. If I use regular expressions, In order to guard against that, I only see two options:
Halp? |
How about |
BTW: I promise to make a release within 24 hours after this issues has been fixed. 😁 |
I have all of the tests fixed to use regular expressions to match digits (and match non-zero numbers where needed). I had to then slice up some of the dictionaries to do a partial match (exclude compression ratio and sizes from the test), hope that's okay. However, we seem to have a real test failure in |
I guess the way the internal flags are stored/used may have changed. cc @FrancescAlted |
Actually, the problem lies elsewhere, my mistake. The
This data is compressible for sure and the flags are neither 1 (shuffle) nor 2 (pure memcpy/incompressible) nor 3 (both). |
closed by #57 |
@esc So, it looks we have some test failures in Travis, but they're not what I expected?
The errors seem to fall into two categories.
It looks like the expected compression ratio has been cut in half.
The newer version of blosc introduces the
zstd
compression library, in which the tests don't expect that in the output.The latter is easily fixable by updating the tests. The former... not so much.
The text was updated successfully, but these errors were encountered: