File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -328,6 +328,10 @@ lazy_static! {
328
328
#[ cfg_attr( feature = "async-std-runtime" , async_std:: test) ]
329
329
#[ function_name:: named]
330
330
async fn large_insert ( ) {
331
+ if std:: env:: consts:: OS != "linux" {
332
+ return ;
333
+ }
334
+
331
335
let _guard = LOCK . run_concurrently ( ) . await ;
332
336
333
337
let docs = vec ! [ LARGE_DOC . clone( ) ; 35000 ] ;
@@ -373,6 +377,10 @@ fn multibatch_documents_with_duplicate_keys() -> Vec<Document> {
373
377
#[ cfg_attr( feature = "async-std-runtime" , async_std:: test) ]
374
378
#[ function_name:: named]
375
379
async fn large_insert_unordered_with_errors ( ) {
380
+ if std:: env:: consts:: OS != "linux" {
381
+ return ;
382
+ }
383
+
376
384
let _guard = LOCK . run_concurrently ( ) . await ;
377
385
378
386
let docs = multibatch_documents_with_duplicate_keys ( ) ;
@@ -410,6 +418,10 @@ async fn large_insert_unordered_with_errors() {
410
418
#[ cfg_attr( feature = "async-std-runtime" , async_std:: test) ]
411
419
#[ function_name:: named]
412
420
async fn large_insert_ordered_with_errors ( ) {
421
+ if std:: env:: consts:: OS != "linux" {
422
+ return ;
423
+ }
424
+
413
425
let _guard = LOCK . run_concurrently ( ) . await ;
414
426
415
427
let docs = multibatch_documents_with_duplicate_keys ( ) ;
You can’t perform that action at this time.
0 commit comments