Skip to content

Commit

Permalink
disable endpoints that are randomly timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
ducaale committed Apr 28, 2024
1 parent cf34e85 commit ede4498
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1200,6 +1200,7 @@ fn proxy_multiple_valid_proxies() {

// temporarily disabled for builds not using rustls
#[cfg(all(feature = "online-tests", feature = "rustls"))]
#[ignore = "endpoint is randomly timing out"]
#[test]
fn verify_default_yes() {
use predicates::boolean::PredicateBooleanExt;
Expand All @@ -1215,6 +1216,7 @@ fn verify_default_yes() {

// temporarily disabled for builds not using rustls
#[cfg(all(feature = "online-tests", feature = "rustls"))]
#[ignore = "endpoint is randomly timing out"]
#[test]
fn verify_explicit_yes() {
use predicates::boolean::PredicateBooleanExt;
Expand All @@ -1229,6 +1231,7 @@ fn verify_explicit_yes() {
}

#[cfg(feature = "online-tests")]
#[ignore = "endpoint is randomly timing out"]
#[test]
fn verify_no() {
get_command()
Expand All @@ -1240,6 +1243,7 @@ fn verify_no() {
}

#[cfg(all(feature = "rustls", feature = "online-tests"))]
#[ignore = "endpoint is randomly timing out"]
#[test]
fn verify_valid_file() {
get_command()
Expand All @@ -1255,6 +1259,7 @@ fn verify_valid_file() {
// This test may fail if https://github.com/seanmonstar/reqwest/issues/1260 is fixed
// If that happens make sure to remove the warning, not just this test
#[cfg(all(feature = "native-tls", feature = "online-tests"))]
#[ignore = "endpoint is randomly timing out"]
#[test]
fn verify_valid_file_native_tls() {
get_command()
Expand Down

0 comments on commit ede4498

Please sign in to comment.