Skip to content

Commit 16146ac

Browse files
authored
ci: Remove failpoint feature from CI runs
Also remove from developer docs
1 parent 0986ba8 commit 16146ac

File tree

2 files changed

+4
-11
lines changed

2 files changed

+4
-11
lines changed

.github/workflows/rust.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,7 @@ jobs:
5555
cargo --version
5656
rustc --version
5757
- name: Test
58-
run: >
59-
cargo test --features fail/failpoints
58+
run: cargo test
6059
# S3 integration tests can't run from CI because they need credentials, but we
6160
# can at least make sure that they compile.
6261
- name: cargo build --all-targets --all-features
@@ -92,13 +91,11 @@ jobs:
9291
cargo --version
9392
rustc --version
9493
- name: Build
95-
run: cargo build --all-targets --features fail/failpoints
94+
run: cargo build --all-targets
9695
- name: Test (without mount)
97-
run: cargo test --features fail/failpoints -- --skip mount
98-
--include-ignored
96+
run: cargo test -- --skip mount --include-ignored
9997
- name: Test (mount)
100-
run: cargo test --features fail/failpoints --test mount --
101-
--include-ignored
98+
run: cargo test --test mount -- --include-ignored
10299
env:
103100
# Running multiple instances in parallel might cause a crash on low-end environments
104101
# when executing the mounting tests on Windows due to projfs.
@@ -128,7 +125,6 @@ jobs:
128125
run: >
129126
cargo mutants --no-shuffle -vV --in-diff git.diff --in-place
130127
--no-default-features
131-
--features fail/failpoints
132128
- name: Archive mutants.out
133129
uses: actions/upload-artifact@v4
134130
if: always()
@@ -160,7 +156,6 @@ jobs:
160156
cargo mutants --no-shuffle -vV --in-place --baseline=skip
161157
--shard ${{ matrix.shard }}/10
162158
--no-default-features
163-
--features fail/failpoints
164159
- name: Archive results
165160
uses: actions/upload-artifact@v4
166161
if: always()

CONTRIBUTING.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,6 @@ This is enough for normal iterative development. There are also some special tes
3434

3535
`cargo test -- --include-ignored` runs some property-based tests that are slower (taking about a minute).
3636

37-
`cargo test --features fail/failpoints` runs tests that use Rust [failpoints](https://docs.rs/fail/) to exercise error handling.
38-
3937
`cargo test --features s3-integration-tests` runs tests that create real AWS S3 buckets and objects. These tests are slow and require AWS credentials to be set up. The buckets should be automatically cleaned up after the tests, but be aware that they are real resources and may incur (small) costs. I'd recommend you run this with credentials for an account that doesn't contain any important data, just in case.
4038

4139
## Adding new tests

0 commit comments

Comments
 (0)