1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2025-04-16 14:54:15 +00:00

Ignore some tests on macOS and Windows

This commit is contained in:
Yuki Okushi 2020-01-07 03:02:30 +09:00
parent f5fd6bc49f
commit dbe5cdad7f
6 changed files with 6 additions and 1 deletions

View file

@ -64,4 +64,4 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: test
args: --all --all-features -- --nocapture
args: --all --all-features --no-fail-fast -- --nocapture

View file

@ -115,6 +115,7 @@ async fn test_h2_body() -> io::Result<()> {
Ok(())
}
#[cfg(not(any(target_os = "macos", windows)))]
#[actix_rt::test]
async fn test_h2_content_length() {
let srv = test_server(move || {

View file

@ -121,6 +121,7 @@ async fn test_h2_body1() -> io::Result<()> {
Ok(())
}
#[cfg(not(any(target_os = "macos", windows)))]
#[actix_rt::test]
async fn test_h2_content_length() {
let srv = test_server(move || {

View file

@ -67,6 +67,7 @@ async fn get_param_test(_: Path<String>) -> impl Responder {
HttpResponse::Ok()
}
#[cfg(not(windows))]
#[actix_rt::test]
async fn test_params() {
let srv = test::start(|| {

View file

@ -46,6 +46,7 @@ const STR: &str = "Hello World Hello World Hello World Hello World Hello World \
Hello World Hello World Hello World Hello World Hello World";
#[actix_rt::test]
#[cfg(not(windows))]
async fn test_simple() {
let srv = test::start(|| {
App::new()

View file

@ -741,6 +741,7 @@ async fn test_brotli_encoding_large_openssl() {
}
#[cfg(all(feature = "rustls", feature = "openssl"))]
#[cfg(not(any(target_os = "macos", windows)))]
#[actix_rt::test]
async fn test_reading_deflate_encoding_large_random_rustls() {
use rust_tls::internal::pemfile::{certs, pkcs8_private_keys};