Skip to content

Commit

Permalink
Use nextest in Makefile (#5158)
Browse files Browse the repository at this point in the history
* Use nextest in Makefile

* Add retry to test-all
  • Loading branch information
rdettai authored Jun 26, 2024
1 parent acc1e1b commit 4ade7b5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ You will be notified by email from the CI system if any issues are discovered, b
2. Install node@20 and `npm install -g yarn`
3. Install awslocal https://github.com/localstack/awscli-local
4. Install protoc https://grpc.io/docs/protoc-installation/ (you may need to install the latest binaries rather than your distro's flavor)
5. Install nextest https://nexte.st/docs/installation/pre-built-binaries/

### GitHub Codespaces

Expand Down
6 changes: 3 additions & 3 deletions quickwit/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ test-all:
QW_S3_FORCE_PATH_STYLE_ACCESS=1 \
QW_TEST_DATABASE_URL=postgres://quickwit-dev:quickwit-dev@localhost:5432/quickwit-metastore-dev \
RUST_MIN_STACK=67108864 \
cargo test --all-features
cargo test --test failpoints --features fail/failpoints
cargo nextest run --all-features --retries 1
cargo nextest run --test failpoints --features fail/failpoints

test-failpoints:
cargo test --test failpoints --features fail/failpoints
cargo nextest run --test failpoints --features fail/failpoints

# TODO: to be replaced by https://github.com/quickwit-oss/quickwit/issues/237
TARGET ?= x86_64-unknown-linux-gnu
Expand Down

0 comments on commit 4ade7b5

Please sign in to comment.