From 35e799ea23be289e40f526818bc7f38dbcf66652 Mon Sep 17 00:00:00 2001 From: Ali Mir Date: Fri, 6 Mar 2026 17:30:04 -0500 Subject: [PATCH] SERVER-121131 Skip nodes_prefer_primary_sync_source.js on Windows variants (#49208) GitOrigin-RevId: ab1892a70f8d0d6305ce41a8c90fc7e3aa728aa5 --- .../replsets/nodes_prefer_primary_sync_source.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/jstests/replsets/nodes_prefer_primary_sync_source.js b/jstests/replsets/nodes_prefer_primary_sync_source.js index efb66324060..f7d69218f6b 100644 --- a/jstests/replsets/nodes_prefer_primary_sync_source.js +++ b/jstests/replsets/nodes_prefer_primary_sync_source.js @@ -12,6 +12,8 @@ * @tags: [ * multiversion_incompatible, * requires_mongobridge, + * # Slow Windows machines cause this test to be flaky, and provide little additional signal. + * incompatible_with_windows_tls, * ] */ @@ -84,6 +86,17 @@ const eastDC = new DataCenter("east", [testNode]); // are further apart, we delay messages between them by 300 ms. // Mimic secondary and primary being in the same data center by making the delay between eastCentral // data center and central data center very minimal. +// +// 50 ms 5 ms 45 ms +// west ──────────▶ central ────────▶ eastCentral ───────────▶ east +// (farSecondary) (primary) (secondary) (testNode) +// │ │ ▲ ▲ +// │ │ │ │ +// ├──── 55 ms ──────┼───────────────────┘ │ +// │ │ │ +// │ └──────────── 50 ms ─────────────────────┤ +// │ │ +// └──────────────────────── 300 ms ──────────────────────────┘ delayMessagesBetweenDataCenters(westDC, centralDC, 50 /* delayMillis */); delayMessagesBetweenDataCenters(centralDC, eastDC, 50 /* delayMillis */); delayMessagesBetweenDataCenters(westDC, eastCentralDC, 55 /* delayMillis */);