Skip to content

Commit

Permalink
Run runtime tests in integration tests and not e2e tests
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Levick <ryan.levick@fermyon.com>
  • Loading branch information
rylev committed Dec 21, 2023
1 parent 04b472d commit dc25d6a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ test-crate:

.PHONY: test-integration
test-integration: test-kv test-sqlite
cargo test -F e2e-tests -- runtime_tests --nocapture; \
$(LOG_LEVEL_VAR) cargo test --test integration --no-fail-fast -- --skip spinup_tests --skip cloud_tests --nocapture

.PHONY: test-spin-up
Expand Down
2 changes: 0 additions & 2 deletions e2e-tests.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,6 @@ RUN printf '#!/bin/bash
cargo build --release \n \
fi \n\n \
cargo test spinup_tests --features e2e-tests --no-fail-fast -- --nocapture \n \
# Run the runtime tests which will supersede many e2e tests in the future \n \
cargo test -F e2e-tests -- runtime_tests --nocapture \n \
' > /usr/local/bin/entrypoint.sh

RUN chmod +x /usr/local/bin/entrypoint.sh
Expand Down

0 comments on commit dc25d6a

Please sign in to comment.