Skip to content

Commit d9b55e6

Browse files
committed
CDRIVER-1423 skip large msg tests w/ OpenSSL on Win
1 parent 8204eb8 commit d9b55e6

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

tests/test-bulk.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -919,6 +919,7 @@ test_upsert_large (void *ctx)
919919
}
920920

921921

922+
#if !defined (_MSC_VER) || !defined (MONGOC_ENABLE_SSL_OPENSSL) /* CDRIVER-1423 */
922923
static void
923924
test_upsert_huge (void *ctx)
924925
{
@@ -985,6 +986,7 @@ test_upsert_huge (void *ctx)
985986
mongoc_collection_destroy (collection);
986987
mongoc_client_destroy (client);
987988
}
989+
#endif /* CDRIVER-1423 */
988990

989991

990992
static void
@@ -3096,8 +3098,10 @@ test_bulk_install (TestSuite *suite)
30963098
test_upsert_unordered);
30973099
TestSuite_AddFull (suite, "/BulkOperation/upsert_large",
30983100
test_upsert_large, NULL, NULL, test_framework_skip_if_slow);
3101+
#if !defined (_MSC_VER) || !defined (MONGOC_ENABLE_SSL_OPENSSL) /* CDRIVER-1423 */
30993102
TestSuite_AddFull (suite, "/BulkOperation/upsert_huge",
31003103
test_upsert_huge, NULL, NULL, test_framework_skip_if_slow);
3104+
#endif
31013105
TestSuite_AddLive (suite, "/BulkOperation/upserted_index_ordered",
31023106
test_upserted_index_ordered);
31033107
TestSuite_AddLive (suite, "/BulkOperation/upserted_index_unordered",

tests/test-mongoc-collection.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2782,6 +2782,7 @@ test_find_and_modify (void)
27822782
}
27832783

27842784

2785+
#if !defined (_MSC_VER) || !defined (MONGOC_ENABLE_SSL_OPENSSL) /* CDRIVER-1423 */
27852786
static void
27862787
test_large_return (void *ctx)
27872788
{
@@ -2837,6 +2838,7 @@ test_large_return (void *ctx)
28372838
mongoc_client_destroy (client);
28382839
bson_free (str);
28392840
}
2841+
#endif /* CDRIVER-1423 */
28402842

28412843

28422844
static void
@@ -3600,7 +3602,9 @@ test_collection_install (TestSuite *suite)
36003602
test_find_and_modify_write_concern_wire_32);
36013603
TestSuite_Add (suite, "/Collection/find_and_modify/write_concern_pre_32",
36023604
test_find_and_modify_write_concern_wire_pre_32);
3605+
#if !defined (_MSC_VER) || !defined (MONGOC_ENABLE_SSL_OPENSSL) /* CDRIVER-1423 */
36033606
TestSuite_AddFull (suite, "/Collection/large_return", test_large_return, NULL, NULL, test_framework_skip_if_slow);
3607+
#endif
36043608
TestSuite_AddLive (suite, "/Collection/many_return", test_many_return);
36053609
TestSuite_Add (suite, "/Collection/limit", test_find_limit);
36063610
TestSuite_Add (suite, "/Collection/batch_size", test_find_batch_size);

0 commit comments

Comments
 (0)