test(client): disable happy eyeballs tests except in CI

This commit is contained in:
Sean McArthur
2018-12-05 10:57:37 -08:00
parent 69a39f5a69
commit 65788fe7fe
3 changed files with 5 additions and 6 deletions

View File

@@ -5,11 +5,11 @@ matrix:
fast_finish: true
include:
- rust: nightly
env: FEATURES="--no-default-features --features runtime,nightly" HYPER_DOCS="1"
env: FEATURES="--no-default-features --features runtime,nightly"
- rust: beta
env: FEATURES="--no-default-features --features runtime"
env: FEATURES="--no-default-features --features runtime,__internal_happy_eyeballs_tests"
- rust: stable
env: FEATURES="--no-default-features --features runtime"
env: FEATURES="--no-default-features --features runtime,__internal_happy_eyeballs_tests"
- rust: stable
env: FEATURES="--no-default-features"
# Minimum Supported Rust Version
@@ -57,9 +57,6 @@ after_success:
fi;
done &&
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:
global:

View File

@@ -67,6 +67,7 @@ runtime = [
]
nightly = []
__internal_flaky_tests = []
__internal_happy_eyeballs_tests = []
[profile.release]
codegen-units = 1

View File

@@ -597,6 +597,7 @@ mod tests {
}
#[test]
#[cfg_attr(not(feature = "__internal_happy_eyeballs_tests"), ignore)]
fn client_happy_eyeballs() {
extern crate pretty_env_logger;