Skip to content

Commit 63be4d4

Browse files
authored
add CNINode integration tests in canary (#426)
1 parent f61320b commit 63be4d4

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

scripts/test/run-canary-test.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ function run_canary_tests() {
115115
echo "skipping Windows tests"
116116
fi
117117
(CGO_ENABLED=0 ginkgo --no-color --focus="CANARY" $EXTRA_GINKGO_FLAGS -v --timeout 5m $GINKGO_TEST_BUILD_DIR/webhook.test -- --cluster-kubeconfig=$KUBE_CONFIG_PATH --cluster-name=$CLUSTER_NAME --aws-region=$REGION --aws-vpc-id=$VPC_ID)
118+
(CGO_ENABLED=0 ginkgo --no-color --focus="CANARY" $EXTRA_GINKGO_FLAGS -v --timeout 10m $GINKGO_TEST_BUILD_DIR/cninode.test -- --cluster-kubeconfig=$KUBE_CONFIG_PATH --cluster-name=$CLUSTER_NAME --aws-region=$REGION --aws-vpc-id=$VPC_ID)
118119
}
119120

120121
echo "Starting the ginkgo test suite"

scripts/test/run-integration-tests.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ function run_integration_tests(){
4747
echo "skipping Windows tests"
4848
fi
4949
(cd $INTEGRATION_TEST_DIR/webhook && CGO_ENABLED=0 ginkgo --skip=LOCAL $EXTRA_GINKGO_FLAGS -v -timeout=5m -- -cluster-kubeconfig=$KUBE_CONFIG_PATH -cluster-name=$CLUSTER_NAME --aws-region=$REGION --aws-vpc-id $VPC_ID) || TEST_RESULT=fail
50+
(cd $INTEGRATION_TEST_DIR/cninode && CGO_ENABLED=0 ginkgo --skip=LOCAL $EXTRA_GINKGO_FLAGS -v -timeout=10m -- -cluster-kubeconfig=$KUBE_CONFIG_PATH -cluster-name=$CLUSTER_NAME --aws-region=$REGION --aws-vpc-id $VPC_ID) || TEST_RESULT=fail
5051

5152
if [[ "$TEST_RESULT" == fail ]]; then
5253
exit 1

test/integration/cninode/cninode_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ import (
3030
"sigs.k8s.io/controller-runtime/pkg/controller/controllerutil"
3131
)
3232

33-
var _ = Describe("CNINode test", func() {
33+
var _ = Describe("[CANARY]CNINode test", func() {
3434
Describe("CNINode count verification on adding or removing node", func() {
3535
var oldMinSize int64
3636
var oldMaxSize int64

0 commit comments

Comments
 (0)