Skip to content

Commit

Permalink
Focus a single test.
Browse files Browse the repository at this point in the history
  • Loading branch information
orsenthil committed Nov 10, 2023
1 parent 6c0de77 commit 0240098
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions scripts/run-canary-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion test/integration/cni/service_connectivity_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0240098

Please sign in to comment.