test(client): sleep disconnect test to reduce flakiness

Closes #1003
This commit is contained in:
Sean McArthur
2017-01-16 11:34:07 -08:00
parent fef401921c
commit e4232dd0d8
2 changed files with 34 additions and 10 deletions

View File

@@ -16,7 +16,7 @@ cache:
script:
- ./.travis/readme.py
- cargo build --verbose $FEATURES
- cargo test --verbose $FEATURES
- RUST_LOG=hyper cargo test --verbose $FEATURES
- 'for f in ./doc/**/*.md; do echo "Running rustdoc on $f"; rustdoc -L ./target/debug -L ./target/debug/deps --test $f; done'
- 'if [ $TRAVIS_RUST_VERSION = nightly ]; then for f in ./benches/*.rs; do cargo test --bench $(basename $f .rs) $FEATURES; done; fi'