Closed RalfJung closed 4 months ago
Yea looks like if rendering takes too long, we may exit before finishing rendering
Possibly related, I am also often getting this when a test fails:
Error: tests failed
Location:
/home/r/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ui_test-0.23.0/src/lib.rs:310:13
error: test failed, to rerun pass `--test ui`
No details of the actual failure is printed. Needless to say, that makes debugging kind of tricky ;)
Running
./test.sh
in MiniRust sometimes looks like this:Somehow, properly marking all tests as finished and printing the summary with the number of passed tests is skipped. This is non-deterministic, so likely a race condition.
I have not seen this happen before https://github.com/minirust/minirust/pull/188 landed.