diff --git a/Justfile b/Justfile index 0b39d9552c..de4c4e66ff 100644 --- a/Justfile +++ b/Justfile @@ -603,7 +603,7 @@ test-unit: + test(=state::tests::manager_disconnect_sets_reason_enqueues_frame_then_cancels) + test(/^api::nip_fi::/)' # Invitation drain/cutoff boundary contracts are infra-free. - cargo nextest run -p buzz-relay --lib -E 'test(/^invite_token::tests::/) + test(/^config::invite_cutoff_tests::/)' + cargo nextest run -p buzz-relay --lib -E 'test(/^invite_token::/) + test(/^config::invite_cutoff_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 diff --git a/scripts/run-tests.sh b/scripts/run-tests.sh index 9773f698c5..be9c0cf491 100755 --- a/scripts/run-tests.sh +++ b/scripts/run-tests.sh @@ -376,7 +376,7 @@ run_unit_tests() { cargo test -p buzz-relay --bin buzz-relay -- --nocapture run_test_step "buzz-relay invitation token and cutoff contracts" \ - cargo test -p buzz-relay --lib invite_token::tests:: -- --nocapture + cargo test -p buzz-relay --lib invite_token:: -- --nocapture run_test_step "buzz-relay invitation cutoff configuration" \ cargo test -p buzz-relay --lib config::invite_cutoff_tests:: -- --nocapture