iroha
iroha copied to clipboard
Fix `I2::Dev::Tests / with_coverage`
https://github.com/hyperledger/iroha/actions/runs/3099465203/jobs/5018635965
Results of the failing test command in my local at 88c5290c:
-
When I run
cargo llvm-cov --lib --no-report --all-features --workspace --no-fail-fast, the error is reproducible.
-
When I run an equivalent -- lib unit tests without coverage
cargo test --lib --all-features --workspace --no-fail-fast, the error is NOT reproducible. It fails for another reason -- there are some failed unit tests.
Thus, it is likely a problem related to cargo-llvm-cov
Fixed here: https://github.com/hyperledger/iroha/actions/runs/3626857776/jobs/6116209060