From 99e148b58c894e6fbf5a60fabaca065679d25c5e Mon Sep 17 00:00:00 2001 From: strivedi-px Date: Fri, 7 Jun 2024 10:24:59 +0530 Subject: [PATCH] chore: address review comment --- test/integration_test/migration_test.go | 4 +++- test/integration_test/test-deploy.sh | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/test/integration_test/migration_test.go b/test/integration_test/migration_test.go index 955ea435fa..12ee2d98ce 100644 --- a/test/integration_test/migration_test.go +++ b/test/integration_test/migration_test.go @@ -102,7 +102,9 @@ func testMigration(t *testing.T) { t.Run("excludeMultipleResourceTypesTest", excludeMultipleResourceTypesTest) t.Run("excludeResourceTypesWithSelectorsTest", excludeResourceTypesWithSelectorsTest) t.Run("excludeNonExistingResourceTypesTest", excludeNonExistingResourceTypesTest) - t.Run("transformCRResourceTest", transformCRResourceTest) + if authTokenConfigMap == "" { + t.Run("transformCRResourceTest", transformCRResourceTest) + } err = setRemoteConfig("") log.FailOnError(t, err, "setting kubeconfig to default failed") diff --git a/test/integration_test/test-deploy.sh b/test/integration_test/test-deploy.sh index 8d2ed44475..2e49921035 100755 --- a/test/integration_test/test-deploy.sh +++ b/test/integration_test/test-deploy.sh @@ -534,7 +534,7 @@ for i in $(seq 1 100) ; do test_status=$(kubectl get pod stork-test -n kube-system -o json | jq ".status.phase" -r) if [ "$test_status" = "Running" ]; then sleep 5 - echo "Test is still running, resuming logs from past 5 seconds, status: $test_status" + echo "Test is still running, status: $test_status, resuming logs from past 10 seconds" kubectl logs stork-test -n kube-system -f --since=10s else sleep 5