From 3bd77702c8411c82885d9c8162686e78eb531b0e Mon Sep 17 00:00:00 2001 From: aiongg Date: Tue, 24 Nov 2026 20:21:09 +0000 Subject: [PATCH] proto test: the gate-fraction flag in the distinct-UID test --- crates/proto/src/imap/limits_tests.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/proto/src/imap/limits_tests.rs b/crates/proto/src/imap/limits_tests.rs index 762ab028e..01e91e7de 100644 --- a/crates/proto/src/imap/limits_tests.rs +++ b/crates/proto/src/imap/limits_tests.rs @@ -116,6 +116,7 @@ fn only_uids_that_were_asked_for_and_exist_are_kept() { #[test] fn more_distinct_uids_than_the_mailbox_can_hold_fail_the_command() { + let full = craft_testkit::hostile::divisor() == 1; // 3 messages: room for 2 * 3 + FETCH_SLACK distinct UIDs, and not one more. let room = 2 * 3 + FETCH_SLACK; let many = |n: usize| flood(n, |i| format!("* {i} FETCH (UID {} FLAGS ())\r\n", i + 1)) + "A0001 OK done\r\n";