diff options
Diffstat (limited to 'src/mongo/client')
-rw-r--r-- | src/mongo/client/SConscript | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/src/mongo/client/SConscript b/src/mongo/client/SConscript index ab41864f27a..6bc147b7c90 100644 --- a/src/mongo/client/SConscript +++ b/src/mongo/client/SConscript @@ -434,14 +434,16 @@ env.CppUnitTest( ], ) -env.CppUnitTest( - target='scoped_db_connection_pool_test', - source=['scoped_db_connection_test.cpp'], - LIBDEPS=[ - '$BUILD_DIR/mongo/dbtests/mocklib', - 'clientdriver_network', - ], -) +# TODO SERVER-75914: remove the condition when the test can reliably run on Windows. +if not env.TargetOSIs('windows'): + env.CppUnitTest( + target='scoped_db_connection_pool_test', + source=['scoped_db_connection_test.cpp'], + LIBDEPS=[ + '$BUILD_DIR/mongo/dbtests/mocklib', + 'clientdriver_network', + ], + ) # The following two tests cannot be combined because the second one # needs to be filtered out for the repl and sharding variants of the |