From b12c64c9d7ce7f7d97b141714608dbe0a20739bc Mon Sep 17 00:00:00 2001 From: inv2004 Date: Thu, 13 Dec 2018 23:11:19 -0500 Subject: [PATCH] ::command tests disabled for windows (until mongoc update) --- tests/collection.rs | 1 + tests/cursor.rs | 1 + tests/database.rs | 1 + 3 files changed, 3 insertions(+) diff --git a/tests/collection.rs b/tests/collection.rs index 999f8e5..0244847 100644 --- a/tests/collection.rs +++ b/tests/collection.rs @@ -33,6 +33,7 @@ fn test_aggregate() { assert_eq!(Ok(5), total.get_i32("total")); } +#[cfg(not(target_os = "windows"))] #[test] fn test_command() { let uri = Uri::new("mongodb://localhost:27017/").unwrap(); diff --git a/tests/cursor.rs b/tests/cursor.rs index ea837d4..50e06d8 100644 --- a/tests/cursor.rs +++ b/tests/cursor.rs @@ -88,6 +88,7 @@ fn test_tailing_cursor() { assert_eq!(25, guard.join().expect("Thread failed")); } +#[cfg(not(target_os = "windows"))] #[test] fn test_batch_cursor() { let uri = Uri::new("mongodb://localhost:27017/").unwrap(); diff --git a/tests/database.rs b/tests/database.rs index 50625ec..896b3cf 100644 --- a/tests/database.rs +++ b/tests/database.rs @@ -1,5 +1,6 @@ use mongo_driver::client::{ClientPool,Uri}; +#[cfg(not(target_os = "windows"))] #[test] fn test_command() { let uri = Uri::new("mongodb://localhost:27017/").unwrap();