From 24dc85dc5e71526aa74b5587348c973beab7ac47 Mon Sep 17 00:00:00 2001 From: Ivan Petkov Date: Sat, 15 Sep 2018 00:41:41 +0000 Subject: [PATCH] ci: Run `cargo test` with the --no-fail-fast flag (#635) Since the CI runs all tests for all tokio crates, it is possible that a sporadic failure in one crate can mask failures/successes of other crates' tests. Using the `--no-fail-fast` flag instructs cargo to run *all* tests before failing the build. This will allow checking to see if any relevant test cases still pass even if an unrelated test has failed. --- .appveyor.yml | 2 +- .travis.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index ebb36df5b..a4c3f3ee9 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -16,4 +16,4 @@ install: build: false test_script: - - cargo test --all --target %TARGET% + - cargo test --all --no-fail-fast --target %TARGET% diff --git a/.travis.yml b/.travis.yml index 7c4699b78..1e0c389d2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -76,7 +76,7 @@ script: cargo check --all --exclude tokio-tls --target $TARGET cargo check --tests --all --exclude tokio-tls --target $TARGET else - cargo test --all + cargo test --all --no-fail-fast # Disable these tests for now as they are buggy # # cargo test --features unstable-futures