excludes more Merkle shreds tests from coverage CI (#812)

This commit is contained in:
behzad nouri 2024-04-15 18:27:31 +00:00 committed by GitHub
parent ae316f0341
commit 657e032ac0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 8 additions and 1 deletions

View File

@ -73,9 +73,16 @@ source ci/common/limit-threads.sh
_ "$cargo" nightly test --jobs "$JOBS" --target-dir target/cov --no-run "${packages[@]}"
TEST_ARGS=(
--nocapture
--skip shred::merkle::test::test_make_shreds_from_data::
--skip shred::merkle::test::test_make_shreds_from_data_rand::
--skip shred::merkle::test::test_recover_merkle_shreds::
)
# most verbose log level (trace) is enabled for all solana code to make log!
# macro code green always
if RUST_LOG=solana=trace _ ci/intercept.sh "$cargo" nightly test --jobs "$JOBS" --target-dir target/cov "${packages[@]}" -- --nocapture --skip shred::merkle::test::test_make_shreds_from_data:: ; then
if RUST_LOG=solana=trace _ ci/intercept.sh "$cargo" nightly test --jobs "$JOBS" --target-dir target/cov "${packages[@]}" -- "${TEST_ARGS[@]}" ; then
test_status=0
else
test_status=$?