test(client): disable happy eyeballs tests except in CI
This commit is contained in:
		| @@ -5,11 +5,11 @@ matrix: | |||||||
|     fast_finish: true |     fast_finish: true | ||||||
|     include: |     include: | ||||||
|         - rust: nightly |         - rust: nightly | ||||||
|           env: FEATURES="--no-default-features --features runtime,nightly" HYPER_DOCS="1" |           env: FEATURES="--no-default-features --features runtime,nightly" | ||||||
|         - rust: beta |         - rust: beta | ||||||
|           env: FEATURES="--no-default-features --features runtime" |           env: FEATURES="--no-default-features --features runtime,__internal_happy_eyeballs_tests" | ||||||
|         - rust: stable |         - rust: stable | ||||||
|           env: FEATURES="--no-default-features --features runtime" |           env: FEATURES="--no-default-features --features runtime,__internal_happy_eyeballs_tests" | ||||||
|         - rust: stable |         - rust: stable | ||||||
|           env: FEATURES="--no-default-features" |           env: FEATURES="--no-default-features" | ||||||
|         # Minimum Supported Rust Version |         # Minimum Supported Rust Version | ||||||
| @@ -57,9 +57,6 @@ after_success: | |||||||
|       fi; |       fi; | ||||||
|     done && |     done && | ||||||
|     kcov --coveralls-id=$TRAVIS_JOB_ID --merge target/cov target/cov/*' |     kcov --coveralls-id=$TRAVIS_JOB_ID --merge target/cov target/cov/*' | ||||||
|   - '[ $TRAVIS_PULL_REQUEST = false ] && [ "$HYPER_DOCS" = "1" ] && |  | ||||||
|     { [ "$TRAVIS_TAG" != "" ] || [ "$TRAVIS_BRANCH" == "master" ]; } && |  | ||||||
|     ./.travis/docs.sh' |  | ||||||
|  |  | ||||||
| env: | env: | ||||||
|     global: |     global: | ||||||
|   | |||||||
| @@ -67,6 +67,7 @@ runtime = [ | |||||||
| ] | ] | ||||||
| nightly = [] | nightly = [] | ||||||
| __internal_flaky_tests = [] | __internal_flaky_tests = [] | ||||||
|  | __internal_happy_eyeballs_tests = [] | ||||||
|  |  | ||||||
| [profile.release] | [profile.release] | ||||||
| codegen-units = 1 | codegen-units = 1 | ||||||
|   | |||||||
| @@ -597,6 +597,7 @@ mod tests { | |||||||
|     } |     } | ||||||
|  |  | ||||||
|     #[test] |     #[test] | ||||||
|  |     #[cfg_attr(not(feature = "__internal_happy_eyeballs_tests"), ignore)] | ||||||
|     fn client_happy_eyeballs() { |     fn client_happy_eyeballs() { | ||||||
|         extern crate pretty_env_logger; |         extern crate pretty_env_logger; | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user