chore(ci): remove flaky tests from failing CI

This commit is contained in:
Sean McArthur
2018-05-09 16:02:49 -07:00
parent 57f05013e0
commit 18f4dd2406
3 changed files with 14 additions and 4 deletions

View File

@@ -5,12 +5,15 @@ matrix:
fast_finish: true fast_finish: true
include: include:
- rust: nightly - rust: nightly
env: FEATURES="--features nightly" HYPER_DOCS="1" env: FEATURES="--no-default-features --features runtime,nightly" HYPER_DOCS="1"
- rust: beta - rust: beta
env: FEATURES="--no-default-features --features runtime"
- rust: stable - rust: stable
env: FEATURES="--no-default-features --features runtime"
- rust: stable - rust: stable
env: FEATURES="--no-default-features" env: FEATURES="--no-default-features"
- rust: 1.21.0 - rust: 1.21.0
env: FEATURES="--no-default-features --features runtime"
cache: cache:
apt: true apt: true

View File

@@ -47,8 +47,10 @@ spmc = "0.2"
url = "1.0" url = "1.0"
[features] [features]
default = ["runtime"] default = [
nightly = [] "__internal_flaky_tests",
"runtime",
]
runtime = [ runtime = [
"futures-cpupool", "futures-cpupool",
"net2", "net2",
@@ -58,6 +60,8 @@ runtime = [
"tokio-tcp", "tokio-tcp",
"tokio-timer", "tokio-timer",
] ]
nightly = []
__internal_flaky_tests = []
[[example]] [[example]]
name = "client" name = "client"

View File

@@ -140,8 +140,11 @@ t! {
; ;
} }
// In rare cases, the h2 client connection does not shutdown, resulting
// in this test simply hanging... :(
#[cfg(feature = "__internal_flaky_tests")]
t! { t! {
get_parallel_http2, http2_parallel_10,
parallel: 0..10 parallel: 0..10
} }