Closed maribu closed 2 weeks ago
Similar to your other issue I think timings are the culprit here. I don't think endianness is what caused these issues, all of the failing tests I see here are very time-sensitive currently.
I've tried to keep the test-suite as fast as possible, but that does mean that a different platform (possibly emulated in your case?) can have timing issues. I'm going to try and fiddle with the numbers a bit so we're less likely to fail.
I'm curious if the timing relaxations in the latests tests have fixed these issues as well, can you test them please? :)
Yes, indeed. So this was not endian related, but just the same as https://github.com/wolph/python-utils/issues/42
While updating the package of python3-utils for Alpine to 3.9.0 I stumbled upon unit test failures on s390x. See https://gitlab.alpinelinux.org/maribu/aports/-/jobs/1567033 for the full build log. See https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/73788 for the merge request.
Please note: The unit tests passed on all other platforms supported by Alpine (which all are little endian) and only fails on s390x (which is big endian).