From 250c7db84a15f8560abe9e0487926821c9a90ae9 Mon Sep 17 00:00:00 2001 From: Joe Date: Sun, 8 Feb 2026 12:13:04 -0600 Subject: [PATCH] Add macOS compatibility check for extreme filesystem rename tests - Updated the `extreme_filesystem_5_file_rename_chains` test to ignore execution on macOS due to kqueue limitations with high rename pressure. - Added documentation to clarify the reason for the macOS-specific ignore condition, ensuring better understanding of the test's behavior across different platforms. --- tests/tests/two_way_sync.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/tests/two_way_sync.rs b/tests/tests/two_way_sync.rs index ba31f779..abd4a568 100644 --- a/tests/tests/two_way_sync.rs +++ b/tests/tests/two_way_sync.rs @@ -4684,7 +4684,12 @@ fn extreme_filesystem_chaos_single_file() { } /// Filesystem: 5 files undergoing simultaneous rename chains. +/// macOS kqueue drops events under this level of rename pressure (5 files × +/// 5 rounds with 250ms gaps). The single-file variant +/// `watcher_filesystem_rename_chain_10x` is already ignored on macOS for the +/// same reason. #[test] +#[cfg_attr(target_os = "macos", ignore)] fn extreme_filesystem_5_file_rename_chains() { run_serve_test("syncback_stress", |session, _redactions| { let src = session.path().join("src");