Skip to content

Commit

Permalink
Attempt to fix broken test with --all-features
Browse files Browse the repository at this point in the history
  • Loading branch information
guilload committed Jun 20, 2024
1 parent 5d92e9e commit 388a14d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions quickwit/quickwit-ingest/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,5 @@ quickwit-codegen = { workspace = true }

[features]
failpoints = ["fail/failpoints"]
no-failpoints = []
testsuite = ["mockall"]
2 changes: 1 addition & 1 deletion quickwit/quickwit-ingest/src/ingest_v2/ingester.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1978,7 +1978,7 @@ mod tests {
// ```sh
// cargo test --manifest-path quickwit/Cargo.toml -p quickwit-ingest --features failpoints -- test_ingester_persist_closes_shard_on_io_error
// ```
#[cfg(feature = "failpoints")]
#[cfg(all(feature = "failpoints", not(feature = "no-failpoints")))]
#[tokio::test]
async fn test_ingester_persist_closes_shard_on_io_error() {
let scenario = fail::FailScenario::setup();
Expand Down

0 comments on commit 388a14d

Please sign in to comment.