mirror of
https://github.com/block/buzz.git
synced 2026-11-06 17:31:19 +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
@@ -646,6 +646,8 @@ test-unit:
|
||||
cargo nextest run -p buzz-relay --lib -E 'test(=state::tests::admitted_index_follows_every_key_change) + test(/^shared_reads::tests::/) + test(=state::tests::concurrent_open_channel_misses_share_the_in_flight_read) + test(=state::tests::concurrent_restriction_and_host_misses_share_the_in_flight_read) + test(=tenant::tests::app_state_resolver_serves_fresh_cached_hosts_only) + test(=tenant::tests::an_overlong_host_fails_closed_before_the_resolver) + test(=state::tests::disconnect_drops_the_cached_restriction_row)'
|
||||
# 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
|
||||
|
||||
@@ -499,6 +499,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