spacemeshos / post-rs

Rust implementation of POST proving
MIT License
11 stars 22 forks source link

fix flaky operator test #370

Closed poszu closed 1 month ago

poszu commented 1 month ago

Use https://docs.rs/axum-test/latest/axum_test to test the operator HTTP service to avoid test flakiness when the service isn't ready on time like in https://github.com/spacemeshos/post-rs/actions/runs/10961016747/job/30436970643.

codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 63.15789% with 7 lines in your changes missing coverage. Please review.

Project coverage is 93.94%. Comparing base (75024fc) to head (f052bd5). Report is 4 commits behind head on main.

Files with missing lines Patch % Lines
service/src/operator.rs 63.15% 7 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #370 +/- ## ========================================== - Coverage 94.20% 93.94% -0.26% ========================================== Files 27 27 Lines 3384 3388 +4 ========================================== - Hits 3188 3183 -5 - Misses 196 205 +9 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.