From 662572e130a25cec43213b40e6c5e2f5a9e48694 Mon Sep 17 00:00:00 2001 From: Param Dhanoya Date: Mon, 12 Apr 2021 09:48:16 -0700 Subject: [PATCH] CSPL-955: Fix int-test failure for EKS Cluster. Increased namespace length to avoid error related to existing namespace. --- .circleci/config.yml | 1 + test/custom_resource_crud/custom_resource_crud_suite_test.go | 2 +- test/delete_cr/deletecr_suite_test.go | 2 +- test/ingest_search/ingest_search_suite_test.go | 2 +- test/licensemaster/lm_suite_test.go | 2 +- test/monitoring_console/monitoring_console_suite_test.go | 2 +- test/scaling_test/scaling_suite_test.go | 2 +- test/smartstore/smartstore_suite_test.go | 2 +- test/smoke/smoke_suite_test.go | 2 +- 9 files changed, 9 insertions(+), 8 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index fd3420090..5a916033a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -384,6 +384,7 @@ jobs: echo 'export CLUSTER_NODES=${NUM_NODES}' >> $BASH_ENV echo 'export CLUSTER_WORKERS=${NUM_WORKERS}' >> $BASH_ENV echo 'export TEST_CLUSTER_PLATFORM=eks' >> $BASH_ENV + echo 'export PRIVATE_REGISTRY=$ECR_REPOSITORY' >> $BASH_ENV - kubernetes/install - aws-cli/install - aws-eks/install-eksctl diff --git a/test/custom_resource_crud/custom_resource_crud_suite_test.go b/test/custom_resource_crud/custom_resource_crud_suite_test.go index a9b3c7bac..437793de5 100644 --- a/test/custom_resource_crud/custom_resource_crud_suite_test.go +++ b/test/custom_resource_crud/custom_resource_crud_suite_test.go @@ -35,7 +35,7 @@ const ( var ( testenvInstance *testenv.TestEnv - testSuiteName = "crcrud-" + testenv.RandomDNSName(2) + testSuiteName = "crcrud-" + testenv.RandomDNSName(3) ) // TestBasic is the main entry point diff --git a/test/delete_cr/deletecr_suite_test.go b/test/delete_cr/deletecr_suite_test.go index 2e45f2b5b..136aae637 100644 --- a/test/delete_cr/deletecr_suite_test.go +++ b/test/delete_cr/deletecr_suite_test.go @@ -36,7 +36,7 @@ const ( var ( testenvInstance *testenv.TestEnv - testSuiteName = "deletecr-" + testenv.RandomDNSName(2) + testSuiteName = "deletecr-" + testenv.RandomDNSName(3) ) // TestBasic is the main entry point diff --git a/test/ingest_search/ingest_search_suite_test.go b/test/ingest_search/ingest_search_suite_test.go index 5ac50276f..195c8ead9 100644 --- a/test/ingest_search/ingest_search_suite_test.go +++ b/test/ingest_search/ingest_search_suite_test.go @@ -35,7 +35,7 @@ const ( var ( testenvInstance *testenv.TestEnv - testSuiteName = "ingestsearch-" + testenv.RandomDNSName(2) + testSuiteName = "ingest-" + testenv.RandomDNSName(3) ) // TestBasic is the main entry point diff --git a/test/licensemaster/lm_suite_test.go b/test/licensemaster/lm_suite_test.go index a75462934..ed4299828 100644 --- a/test/licensemaster/lm_suite_test.go +++ b/test/licensemaster/lm_suite_test.go @@ -35,7 +35,7 @@ const ( var ( testenvInstance *testenv.TestEnv - testSuiteName = "licensemaster-" + testenv.RandomDNSName(2) + testSuiteName = "lm-" + testenv.RandomDNSName(3) ) // TestBasic is the main entry point diff --git a/test/monitoring_console/monitoring_console_suite_test.go b/test/monitoring_console/monitoring_console_suite_test.go index 38235b719..f5ae85742 100644 --- a/test/monitoring_console/monitoring_console_suite_test.go +++ b/test/monitoring_console/monitoring_console_suite_test.go @@ -36,7 +36,7 @@ const ( var ( testenvInstance *testenv.TestEnv - testSuiteName = "mc-" + testenv.RandomDNSName(2) + testSuiteName = "mc-" + testenv.RandomDNSName(3) ) // TestBasic is the main entry point diff --git a/test/scaling_test/scaling_suite_test.go b/test/scaling_test/scaling_suite_test.go index fbd92d64f..8dab0440e 100644 --- a/test/scaling_test/scaling_suite_test.go +++ b/test/scaling_test/scaling_suite_test.go @@ -36,7 +36,7 @@ const ( var ( testenvInstance *testenv.TestEnv - testSuiteName = "scaling-" + testenv.RandomDNSName(2) + testSuiteName = "scaling-" + testenv.RandomDNSName(3) ) // TestBasic is the main entry point diff --git a/test/smartstore/smartstore_suite_test.go b/test/smartstore/smartstore_suite_test.go index d8b5ac44c..d255f3738 100644 --- a/test/smartstore/smartstore_suite_test.go +++ b/test/smartstore/smartstore_suite_test.go @@ -22,7 +22,7 @@ const ( var ( testenvInstance *testenv.TestEnv - testSuiteName = "smartstore-" + testenv.RandomDNSName(2) + testSuiteName = "smartstore-" + testenv.RandomDNSName(3) ) // TestBasic is the main entry point diff --git a/test/smoke/smoke_suite_test.go b/test/smoke/smoke_suite_test.go index ec90b96e4..decf75359 100644 --- a/test/smoke/smoke_suite_test.go +++ b/test/smoke/smoke_suite_test.go @@ -35,7 +35,7 @@ const ( var ( testenvInstance *testenv.TestEnv - testSuiteName = "smoke-" + testenv.RandomDNSName(2) + testSuiteName = "smoke-" + testenv.RandomDNSName(3) ) // TestBasic is the main entry point