diff --git a/tests/change_stream.rs b/tests/change_stream.rs index 5e4df85..51a43e2 100644 --- a/tests/change_stream.rs +++ b/tests/change_stream.rs @@ -6,6 +6,7 @@ use std::time::Duration; use mongo_driver::client::{ClientPool,Uri}; +#[cfg_attr(target_os = "windows", ignore)] #[test] fn test_change_stream() { let uri = Uri::new("mongodb://localhost:27017/").unwrap(); diff --git a/tests/client.rs b/tests/client.rs index 97a79c7..ff9d4ee 100644 --- a/tests/client.rs +++ b/tests/client.rs @@ -81,7 +81,6 @@ fn test_get_server_status() { assert!(status.contains_key("version")); } -#[cfg_attr(target_os = "windows", ignore)] #[test] fn test_read_command_with_opts() { let uri = Uri::new("mongodb://localhost:27017/").unwrap();