Fix race in test (#157)
This fixes a race condition in a test that has been exposed by CI. This commit also disables code coverage checks as it has been causing CI to hang. See #156.
This commit is contained in:
@@ -38,12 +38,8 @@ script:
|
||||
# will not fail on test compile errors.
|
||||
- cargo build --tests --features unstable
|
||||
|
||||
# Run tests, uploading results to codecov.
|
||||
# hpack tests are _super_ slow in coverage, so skip them here.
|
||||
- cargo tarpaulin --features unstable --skip-clean --no-count --out Xml -- --skip hpack
|
||||
|
||||
# Test _only_ hpack.
|
||||
- cargo test --lib -- hpack
|
||||
# Run tests
|
||||
- RUST_TEST_THREADS=1 cargo test --features unstable
|
||||
|
||||
# Run h2spec on stable
|
||||
- if [ "${TRAVIS_RUST_VERSION}" = "stable" ]; then ./ci/h2spec.sh; fi
|
||||
|
||||
Reference in New Issue
Block a user