Skip to content

Commit

Permalink
scripts lib integration: confirm text exit codes
Browse files Browse the repository at this point in the history
  • Loading branch information
dshehbaj committed Dec 11, 2024
1 parent bd97a99 commit d0132bd
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions scripts/lib/integration.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,14 @@ function run_kops_conformance() {
echo "CNI DaemonSet status:"
kubectl describe ds aws-node -n=kube-system

# Run the focused set of tests with detailed logging
# Simulate test results for testing failure handling
TEST_START=$SECONDS

/tmp/e2e.test --ginkgo.focus="Conformance" --ginkgo.timeout=120m --kubeconfig=$KUBECONFIG --ginkgo.v --ginkgo.trace --ginkgo.flake-attempts 8 \
--ginkgo.skip="(works for CRD with validation schema)|(ServiceAccountIssuerDiscovery should support OIDC discovery of service account issuer)|(should support remote command execution over websockets)|(should support retrieving logs from the container over websockets)|(Basic StatefulSet functionality [StatefulSetBasic])|\[Slow\]|\[Serial\]"
FIRST_TEST_EXIT_CODE=$?
echo "Simulating first test (failing)..."
FIRST_TEST_EXIT_CODE=1

/tmp/e2e.test --ginkgo.focus="\[Serial\].*Conformance" --ginkgo.timeout=120m --kubeconfig=$KUBECONFIG --ginkgo.v --ginkgo.trace --ginkgo.flake-attempts 8 \
--ginkgo.skip="(ServiceAccountIssuerDiscovery should support OIDC discovery of service account issuer)|(should support remote command execution over websockets)|(should support retrieving logs from the container over websockets)|\[Slow\]"
SECOND_TEST_EXIT_CODE=$?
echo "Simulating second test (passing)..."
SECOND_TEST_EXIT_CODE=0

TEST_DURATION=$((SECONDS - TEST_START))

Expand Down

0 comments on commit d0132bd

Please sign in to comment.