mesalock-linux / mesabox

A collection of core system utilities written in Rust for Unix-like systems (and now Windows)
BSD 3-Clause "New" or "Revised" License
137 stars 19 forks source link

The first two tests are blocking for over 60 seconds in Travis #41

Open mssun opened 6 years ago

mssun commented 6 years ago

I don't know why the first tests are always blocking for over 60 seconds. However, after the blocking issue, all testcases can be run without any problem.

test gnu::arch::test_x86_64 ... test gnu::arch::test_x86_64 has been running for over 60 seconds
test gnu::base32::test_decode ... test gnu::base32::test_decode has been running for over 60 seconds
Arcterus commented 6 years ago

We might want to open this as an issue in assert_cmd. It's hard to replicate though as it only seems to occur on Travis.

Arcterus commented 6 years ago

Haven't really checked to see what is different between the targets but the COVERAGE=1 target never has this issue (at least for the 5 or so builds I've checked).

mssun commented 6 years ago

Oh, that's probably because the COVERAGE=1 target does not run tests in parallel.

I think @epage has understood our issue and started working on it.

Arcterus commented 6 years ago

Ah, that makes sense.