mirror of
https://github.com/block/buzz.git
synced 2026-10-31 22:41:12 +00:00
test(relay): run live revalidation contracts in the unit lane
Co-authored-by: Sarnow <1894dcbafaa4df1ac607a9bf879ac0b7d77fbccb0e0f4619ecc252c8adbad8a2@seiler-test.communities.public.builderlabstaging.xyz> Signed-off-by: Brad Seiler <seiler@squareup.com>
This commit is contained in:
2
Justfile
2
Justfile
@@ -631,6 +631,8 @@ test-unit:
|
||||
cargo nextest run -p buzz-relay --lib -E 'test(/^invite_token::/) + test(/^config::invite_cutoff_tests::/)'
|
||||
# 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)'
|
||||
# Durable session policy, fairness, timeout and scale contracts are infra-free.
|
||||
cargo nextest run -p buzz-relay --lib -E 'test(/^state::live_authorization_tests::/)'
|
||||
# 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
|
||||
|
||||
@@ -431,6 +431,9 @@ run_unit_tests() {
|
||||
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 durable live authorization contracts" \
|
||||
cargo test -p buzz-relay --lib state::live_authorization_tests:: -- --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