From 0240098117e44df667c56fb91b1d38a7d43c8117 Mon Sep 17 00:00:00 2001 From: Senthil Kumaran Date: Thu, 9 Nov 2023 16:16:04 -0800 Subject: [PATCH] Focus a single test. --- scripts/run-canary-test.sh | 3 +-- test/integration/cni/service_connectivity_test.go | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/run-canary-test.sh b/scripts/run-canary-test.sh index 97680cdb495..7cb6718a099 100755 --- a/scripts/run-canary-test.sh +++ b/scripts/run-canary-test.sh @@ -19,7 +19,6 @@ function run_ginkgo_test() { local focus=$1 echo "Running ginkgo tests with focus: $focus" (CGO_ENABLED=0 ginkgo $EXTRA_GINKGO_FLAGS --no-color --focus="$focus" -v --timeout 30m --fail-on-pending $GINKGO_TEST_BUILD/cni.test -- --cluster-kubeconfig="$KUBE_CONFIG_PATH" --cluster-name="$CLUSTER_NAME" --aws-region="$REGION" --aws-vpc-id="$VPC_ID" --ng-name-label-key="kubernetes.io/os" --ng-name-label-val="linux" --test-image-registry=$TEST_IMAGE_REGISTRY) - (CGO_ENABLED=0 ginkgo $EXTRA_GINKGO_FLAGS --no-color --focus="$focus" -v --timeout 30m --fail-on-pending $GINKGO_TEST_BUILD/ipamd.test -- --cluster-kubeconfig="$KUBE_CONFIG_PATH" --cluster-name="$CLUSTER_NAME" --aws-region="$REGION" --aws-vpc-id="$VPC_ID" --ng-name-label-key="kubernetes.io/os" --ng-name-label-val="linux" --test-image-registry=$TEST_IMAGE_REGISTRY) } load_cluster_details @@ -30,7 +29,7 @@ load_addon_details # early on. echo "Running Canary tests on the default addon version" install_add_on "$DEFAULT_ADDON_VERSION" -run_ginkgo_test "CANARY" +run_ginkgo_test "STATIC_CANARY" # Run smoke test on the latest addon version. Smoke tests consist of a subset of tests # from Canary suite. diff --git a/test/integration/cni/service_connectivity_test.go b/test/integration/cni/service_connectivity_test.go index 48b978a5cf7..31dba39bfda 100644 --- a/test/integration/cni/service_connectivity_test.go +++ b/test/integration/cni/service_connectivity_test.go @@ -35,7 +35,7 @@ const ( ) // Verifies connectivity to deployment behind different service types -var _ = Describe("[CANARY] test service connectivity", FlakeAttempts(3), func() { +var _ = Describe("[STATIC_CANARY] test service connectivity", FlakeAttempts(3), func() { var err error // Deployment running the http server