::command tests disabled for windows (until mongoc update)

pull/47/head
inv2004 6 years ago
parent 0e9d86692b
commit b12c64c9d7

@ -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();

@ -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();

@ -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();

Loading…
Cancel
Save