You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
console.log('MongoDB tests are unstable on Windows due to race condition in connection cleanup.');
26
+
console.log('Lacking a production use case for Mongo on Windows, we skip tests. Please reach out if you have a use case.');
27
+
// On Windows, when multiple repositories connect to the same MongoDB server and are closed in parallel or even sequentially, unhandled "Operation interrupted because client was closed" errors occur after all tests pass.
28
+
// The issue does not occur on Linux or macOS, so it appears to be a platform-specific difference in how the MongoDB driver handles connection pool cleanup during client.close().
console.log('MongoDB tests are unstable on Windows due to race condition in connection cleanup.');
48
+
console.log('Lacking a production use case for Mongo on Windows, we skip tests. Please reach out if you have a use case.');
49
+
// On Windows, when multiple repositories connect to the same MongoDB server and are closed in parallel or even sequentially, unhandled "Operation interrupted because client was closed" errors occur after all tests pass.
50
+
// The issue does not occur on Linux or macOS, so it appears to be a platform-specific difference in how the MongoDB driver handles connection pool cleanup during client.close().
0 commit comments