Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated e2e script to better handle focus and skip #108

Merged
merged 1 commit into from
Jan 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions hack/run-e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ function run_test {
bin/hydrophone \
--output-dir ${ARTIFACTS}/results/ \
--conformance-image registry.k8s.io/conformance:${K8S_VERSION} \
--focus "${FOCUS}" \
--skip "${SKIP}" \
$EXTRA_ARGS| tee /tmp/test.log

# Check if $CHECK_DURATION is set to true
Expand Down Expand Up @@ -93,9 +95,7 @@ fi

# If CONFORMANCE is set, add --conformance to the EXTRA_ARGS
if [[ ${CONFORMANCE} == "true" ]]; then
EXTRA_ARGS="${EXTRA_ARGS} --conformance"
else
EXTRA_ARGS="${EXTRA_ARGS} --focus ${FOCUS} --skip ${SKIP}"
FOCUS="\\[Conformance\\]"
fi

setup_kind
Expand Down