::command tests ignored for windows

pull/47/head
inv2004 6 years ago
parent b12c64c9d7
commit 3ea8822004

@ -33,7 +33,7 @@ fn test_aggregate() {
assert_eq!(Ok(5), total.get_i32("total"));
}
#[cfg(not(target_os = "windows"))]
#[cfg_attr(target_os = "windows", ignore)]
#[test]
fn test_command() {
let uri = Uri::new("mongodb://localhost:27017/").unwrap();

@ -88,7 +88,7 @@ fn test_tailing_cursor() {
assert_eq!(25, guard.join().expect("Thread failed"));
}
#[cfg(not(target_os = "windows"))]
#[cfg_attr(target_os = "windows", ignore)]
#[test]
fn test_batch_cursor() {
let uri = Uri::new("mongodb://localhost:27017/").unwrap();

@ -1,6 +1,6 @@
use mongo_driver::client::{ClientPool,Uri};
#[cfg(not(target_os = "windows"))]
#[cfg_attr(target_os = "windows", ignore)]
#[test]
fn test_command() {
let uri = Uri::new("mongodb://localhost:27017/").unwrap();

Loading…
Cancel
Save