From 40ae18e0549e10f4d8ccc2de3ed6c0c65f71cfeb Mon Sep 17 00:00:00 2001 From: "K. Isom" Date: Wed, 21 Oct 2026 22:54:29 -0700 Subject: [PATCH] test(fuzz): un-ignore the peer-table recovery probes now that S1 is in Also match DropReason::IdentityChanged as a unit variant in the harness, since the variant-level non_exhaustive is gone. Co-Authored-By: Claude Opus 5.5 --- fuzz/src/lib.rs | 2 +- tines-core/tests/fuzz_twin.rs | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/fuzz/src/lib.rs b/fuzz/src/lib.rs index 2399e4e8..f570df1b 100644 --- a/fuzz/src/lib.rs +++ b/fuzz/src/lib.rs @@ -597,7 +597,7 @@ impl Harness { DropReason::VersionMismatch { .. } | DropReason::Malformed => { book.seen_decode_drops += count } - DropReason::IdentityChanged { .. } => book.seen_identity_drops += count, + DropReason::IdentityChanged => book.seen_identity_drops += count, _ => book.seen_other_drops += count, } } diff --git a/tines-core/tests/fuzz_twin.rs b/tines-core/tests/fuzz_twin.rs index 8d526c2a..032e09f4 100644 --- a/tines-core/tests/fuzz_twin.rs +++ b/tines-core/tests/fuzz_twin.rs @@ -258,7 +258,6 @@ proptest! { /// frame (filling the table), then everyone goes quiet. After /// `PEER_IDLE_MS`, a never-seen address must get a slot. #[test] -#[ignore = "needs S1 (idle sweep): silent peers are never evicted yet"] fn peer_table_recovers_after_flood() { let mut h = Harness::new(Mode::Adversarial, MAX_FRAME); for addr in 0..(MAX_PEERS as u64 + 16) { @@ -275,7 +274,6 @@ fn peer_table_recovers_after_flood() { /// Same flood, but contact-only peers: `Contact` events with no frames must /// age out too. #[test] -#[ignore = "needs S1 (idle sweep): contact-only peers are never evicted yet"] fn peer_table_recovers_after_contact_flood() { let mut h = Harness::new(Mode::Adversarial, MAX_FRAME); for addr in 0..(MAX_PEERS as u64) {