mirror of https://github.com/fafhrd91/actix-web
Ignore some tests on macOS and Windows
This commit is contained in:
parent
f5fd6bc49f
commit
dbe5cdad7f
|
@ -64,4 +64,4 @@ jobs:
|
||||||
uses: actions-rs/cargo@v1
|
uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
command: test
|
command: test
|
||||||
args: --all --all-features -- --nocapture
|
args: --all --all-features --no-fail-fast -- --nocapture
|
||||||
|
|
|
@ -115,6 +115,7 @@ async fn test_h2_body() -> io::Result<()> {
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[cfg(not(any(target_os = "macos", windows)))]
|
||||||
#[actix_rt::test]
|
#[actix_rt::test]
|
||||||
async fn test_h2_content_length() {
|
async fn test_h2_content_length() {
|
||||||
let srv = test_server(move || {
|
let srv = test_server(move || {
|
||||||
|
|
|
@ -121,6 +121,7 @@ async fn test_h2_body1() -> io::Result<()> {
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[cfg(not(any(target_os = "macos", windows)))]
|
||||||
#[actix_rt::test]
|
#[actix_rt::test]
|
||||||
async fn test_h2_content_length() {
|
async fn test_h2_content_length() {
|
||||||
let srv = test_server(move || {
|
let srv = test_server(move || {
|
||||||
|
|
|
@ -67,6 +67,7 @@ async fn get_param_test(_: Path<String>) -> impl Responder {
|
||||||
HttpResponse::Ok()
|
HttpResponse::Ok()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[cfg(not(windows))]
|
||||||
#[actix_rt::test]
|
#[actix_rt::test]
|
||||||
async fn test_params() {
|
async fn test_params() {
|
||||||
let srv = test::start(|| {
|
let srv = test::start(|| {
|
||||||
|
|
|
@ -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";
|
Hello World Hello World Hello World Hello World Hello World";
|
||||||
|
|
||||||
#[actix_rt::test]
|
#[actix_rt::test]
|
||||||
|
#[cfg(not(windows))]
|
||||||
async fn test_simple() {
|
async fn test_simple() {
|
||||||
let srv = test::start(|| {
|
let srv = test::start(|| {
|
||||||
App::new()
|
App::new()
|
||||||
|
|
|
@ -741,6 +741,7 @@ async fn test_brotli_encoding_large_openssl() {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(all(feature = "rustls", feature = "openssl"))]
|
#[cfg(all(feature = "rustls", feature = "openssl"))]
|
||||||
|
#[cfg(not(any(target_os = "macos", windows)))]
|
||||||
#[actix_rt::test]
|
#[actix_rt::test]
|
||||||
async fn test_reading_deflate_encoding_large_random_rustls() {
|
async fn test_reading_deflate_encoding_large_random_rustls() {
|
||||||
use rust_tls::internal::pemfile::{certs, pkcs8_private_keys};
|
use rust_tls::internal::pemfile::{certs, pkcs8_private_keys};
|
||||||
|
|
Loading…
Reference in New Issue