mirror of
https://github.com/block/buzz.git
synced 2026-10-29 05:21:31 +00:00
test(relay): select mesh receive regression in both CI paths
Co-authored-by: Codex <codex@openai.com>
Signed-off-by: Brad Seiler <seiler@squareup.com>
(cherry picked from commit 3d02a44a92)
Signed-off-by: Brad Seiler <seiler@squareup.com>
This commit is contained in:
2
Justfile
2
Justfile
@@ -591,6 +591,8 @@ test-unit:
|
||||
+ test(=state::tests::disconnect_community_wins_reason_losing_nip_fi_does_not_enqueue_frame)
|
||||
+ test(=state::tests::manager_disconnect_sets_reason_enqueues_frame_then_cancels)
|
||||
+ test(/^api::nip_fi::/)'
|
||||
# Retain partially consumed mesh receives across housekeeping ticks.
|
||||
cargo nextest run -p buzz-relay --lib -E 'test(=mesh_boot::tests::demo_echo_retains_pending_receive_across_housekeeping_ticks)'
|
||||
# boot_lifecycle spawns the real relay binary and asserts its startup
|
||||
# lifecycle, including that buzz_startup_phase_* reaches /metrics. Its
|
||||
# non-ignored tests need no Postgres or Redis; the Postgres cases are
|
||||
|
||||
@@ -339,6 +339,9 @@ run_unit_tests() {
|
||||
run_test_step "buzz-relay binary tests" \
|
||||
cargo test -p buzz-relay --bin buzz-relay -- --nocapture
|
||||
|
||||
run_test_step "buzz-relay mesh receive lifetime regression" \
|
||||
cargo test -p buzz-relay --lib mesh_boot::tests::demo_echo_retains_pending_receive_across_housekeeping_ticks -- --exact --nocapture
|
||||
|
||||
run_test_step "buzz-relay boot lifecycle tests" \
|
||||
cargo test -p buzz-relay --test boot_lifecycle -- --nocapture
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user