From 1b860dc3c5ed2b194cc4f23518787e64c1a77d98 Mon Sep 17 00:00:00 2001 From: Alfredo Garcia Date: Sat, 13 Jul 2024 10:18:16 -0300 Subject: [PATCH] fix the scanner tests in CI by changing the test command --- docker/entrypoint.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docker/entrypoint.sh b/docker/entrypoint.sh index 925e89bf7c8..cc4fb5ac82e 100755 --- a/docker/entrypoint.sh +++ b/docker/entrypoint.sh @@ -349,12 +349,12 @@ case "$1" in elif [[ "${TEST_SCAN_START_WHERE_LEFT}" -eq "1" ]]; then # Test that the scanner can continue scanning where it was left when zebra-scanner restarts. check_directory_files "${ZEBRA_CACHED_STATE_DIR}" - run_cargo_test "${ENTRYPOINT_FEATURES}" "scan_start_where_left" - + exec cargo test --locked --release --features "zebra-test" --package zebra-scan -- --nocapture --include-ignored scan_start_where_left + elif [[ "${TEST_SCAN_TASK_COMMANDS}" -eq "1" ]]; then # Test that the scan task commands are working. check_directory_files "${ZEBRA_CACHED_STATE_DIR}" - run_cargo_test "${ENTRYPOINT_FEATURES}" "scan_task_commands" + exec cargo test --locked --release --features "zebra-test" --package zebra-scan -- --nocapture --include-ignored scan_task_commands else exec "$@"