Open vt-alt opened 3 months ago
Hi, thanks for the issue. This is a flaky test that relies on setting environment variables (which in general does not work with Rust tests seeing as they are executed concurrently by default). It needs to be re-written, perhaps using something like https://github.com/vmx/temp-env
IC. Thanks for answer! I will run them with cargo test ... -- --test-threads=1
(already tested to work OK).
Great! Sorry about that; we will fix it soon.
same issue on armhf build for alpine. Will try @vt-alt's suggestion.
When building a
detla
package for ALT from the tag0.17.0
tests fail with:Temporary build log: https://git.altlinux.org/tasks/342942/build/100/x86_64/log
Interestingly, when I try to reproduce this on other host with the same build env it does not fail:
Both envs do not have
bat
binary. Ifbat
binary is installed the test fails anyway.ps. It looks like the test fails probabilistically. But because we have 4 build architectures, it fails with a high probability when build for all of them. Stat from different build runs: