llogiq / flame

An intrusive flamegraph profiling tool for rust.
Apache License 2.0
694 stars 30 forks source link

threads test is failing #25

Closed ignatenkobrain closed 7 years ago

ignatenkobrain commented 7 years ago
    thread 'threads' panicked at 'assertion failed: `(left == right)` (left: `5`, right: `6`)', tests/tests.rs:111

Not sure which information to provide.

ignatenkobrain commented 7 years ago

it's failing from time to time, so looks like some race condition

TyOverby commented 7 years ago

You need to run the tests in serial. Parallel test execution (cargos default) means that occasionally threads will interfere with each other. This is expected.

To run tests one-at-a-time, use cargo test -j 1