SERVER-121131 Skip nodes_prefer_primary_sync_source.js on Windows variants (#49208)

GitOrigin-RevId: ab1892a70f8d0d6305ce41a8c90fc7e3aa728aa5
This commit is contained in:
Ali Mir
2026-03-06 17:30:04 -05:00
committed by MongoDB Bot
parent af5ca36132
commit 35e799ea23

View File

@@ -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 */);