Skip to content

Commit 3d02a44

Browse files
bradseilercodex
andcommitted
test(relay): select mesh receive regression in both CI paths
Co-authored-by: Codex <[email protected]> Signed-off-by: Brad Seiler <[email protected]>
1 parent 2895e03 commit 3d02a44

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

‎Justfile‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -592,6 +592,8 @@ test-unit:
592592
+ test(=state::tests::disconnect_community_wins_reason_losing_nip_fi_does_not_enqueue_frame)
593593
+ test(=state::tests::manager_disconnect_sets_reason_enqueues_frame_then_cancels)
594594
+ test(/^api::nip_fi::/)'
595+
# Retain partially consumed mesh receives across housekeeping ticks.
596+
cargo nextest run -p buzz-relay --lib -E 'test(=mesh_boot::tests::demo_echo_retains_pending_receive_across_housekeeping_ticks)'
595597
# boot_lifecycle spawns the real relay binary and asserts its startup
596598
# lifecycle, including that buzz_startup_phase_* reaches /metrics. Its
597599
# non-ignored tests need no Postgres or Redis; the Postgres cases are

‎scripts/run-tests.sh‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -342,6 +342,9 @@ run_unit_tests() {
342342
run_test_step "buzz-relay binary tests" \
343343
cargo test -p buzz-relay --bin buzz-relay -- --nocapture
344344

345+
run_test_step "buzz-relay mesh receive lifetime regression" \
346+
cargo test -p buzz-relay --lib mesh_boot::tests::demo_echo_retains_pending_receive_across_housekeeping_ticks -- --exact --nocapture
347+
345348
run_test_step "buzz-relay boot lifecycle tests" \
346349
cargo test -p buzz-relay --test boot_lifecycle -- --nocapture
347350
}

0 commit comments

Comments
 (0)