Disable more unit tests for windows.

This commit is contained in:
Josh Matthews 2021-05-27 19:45:17 -04:00 committed by GitHub
parent de22668748
commit 46de44340f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,6 +4,7 @@
use crate::fetch_with_context; use crate::fetch_with_context;
use crate::fetch_with_cors_cache; use crate::fetch_with_cors_cache;
#[cfg(not(target_os = "windows"))]
use crate::http_loader::{expect_devtools_http_request, expect_devtools_http_response}; use crate::http_loader::{expect_devtools_http_request, expect_devtools_http_response};
use crate::{ use crate::{
create_embedder_proxy, fetch, make_server, make_ssl_server, new_fetch_context, create_embedder_proxy, fetch, make_server, make_ssl_server, new_fetch_context,
@ -1344,6 +1345,7 @@ fn test_opaque_redirect_filtered_fetch_async_returns_complete_response() {
} }
#[test] #[test]
#[cfg(not(target_os = "windows"))]
fn test_fetch_with_devtools() { fn test_fetch_with_devtools() {
static MESSAGE: &'static [u8] = b"Yay!"; static MESSAGE: &'static [u8] = b"Yay!";
let handler = move |_: HyperRequest<Body>, response: &mut HyperResponse<Body>| { let handler = move |_: HyperRequest<Body>, response: &mut HyperResponse<Body>| {