Skip to content

Commit

Permalink
tests: Adapt to ginkgo 2.0 params
Browse files Browse the repository at this point in the history
Use --skip-package and --no-color

Signed-off-by: Or Shoval <[email protected]>
  • Loading branch information
oshoval committed Mar 20, 2022
1 parent 617c745 commit eb894de
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion automation/repeated_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ for lane in "${TEST_LANES[@]}"; do
for i in $(seq 1 "$NUM_TESTS"); do
echo "test lane: $lane, run: $i"
make cluster-sync
ginko_params="-noColor -succinct -slow-spec-threshold=30s -focus=${NEW_TESTS} -skip=QUARANTINE -regexScansFilePath=true"
ginko_params="-no-color -succinct -slow-spec-threshold=30s -focus=${NEW_TESTS} -skip=QUARANTINE -regexScansFilePath=true"
FUNC_TEST_ARGS="$ginko_params" make functest
if [[ $? -ne 0 ]]; then
echo "test lane: $lane, run: $i, tests failed!"
Expand Down
2 changes: 1 addition & 1 deletion automation/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ if [[ $TARGET =~ .*kind.* ]]; then
export KUBEVIRT_E2E_PARALLEL=false
fi

ginko_params="--noColor --seed=42"
ginko_params="--no-color --seed=42"

# Prepare PV for Windows testing
if [[ $TARGET =~ windows.* ]]; then
Expand Down
2 changes: 1 addition & 1 deletion hack/perftests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,6 @@ if [ -n "$KUBEVIRT_E2E_FOCUS" ]; then
additional_test_args="${additional_test_args} --focus=${KUBEVIRT_E2E_FOCUS}"
fi

additional_test_args="${additional_test_args} --skipPackage test/performance"
additional_test_args="${additional_test_args} --skip-package test/performance"

perftest ${additional_test_args} ${FUNC_TEST_ARGS}
2 changes: 1 addition & 1 deletion hack/realtime-perftests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,6 @@ if [ -n "$KUBEVIRT_E2E_FOCUS" ]; then
additional_test_args="${additional_test_args} --focus=${KUBEVIRT_E2E_FOCUS}"
fi

additional_test_args="${additional_test_args} --skipPackage test/performance"
additional_test_args="${additional_test_args} --skip-package test/performance"

perftest ${additional_test_args} ${FUNC_TEST_ARGS}

0 comments on commit eb894de

Please sign in to comment.