test: dry up integration helpers#296
Conversation
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
|
Warning Rate limit exceeded
You’ve run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (28)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Motivation
Description
standard_axis_pipeline()andpublish_and_receive()tocrates/flight-test-helpers/src/integration.rsand exported them viacrates/flight-test-helpers/src/lib.rs, and madeflight-axisa regular dependency offlight-test-helpersincrates/flight-test-helpers/Cargo.tomlso tests can reuse the pipeline.flight-test-helpers(e.g.publish_and_receiveandstandard_axis_pipelineused acrosscrates/flight-integration-tests/tests/*.rsand helper test files).[0.0, 1.0]mapping by asserting centered throttle ≈0.5.for (node_id, node) in (1u32..).zip(...)inflight-axis/src/compiler.rsand switching tosort_by_key(|b| Reverse(b.timestamp))inflight-writersbackup listing/rollback code.Testing
rustfmt --edition 2024 --checkandcargo clippy -p flight-test-helpers -- -D warnings, which completed successfully.cargo test -p flight-test-helpers, which passed (allflight-test-helperstests green).cargo test -p flight-integration-tests(multiple individual--testtargets and--test saitek_pipeline), and the effected integration tests that were updated passed;saitek_pipelinespecifically passes after the assertion fix.cargo test -p flight-integration-testsstill fails due to a pre-existing non-UTF-8 fixture atcompat/devices/speedlink/airrow-flightstick.yaml, which is unrelated to these helper changes and is noted as a known issue.Codex Task