From 5d2971b6a7c47cb76e629e6c8097e53f69dfca1c Mon Sep 17 00:00:00 2001 From: Mauricio Poppe Date: Wed, 26 Jan 2022 18:33:57 +0000 Subject: [PATCH] Run the k8s-integration-test binary without eval --- test/run-windows-k8s-integration.sh | 6 ++---- test/run-windows-k8s-migration.sh | 6 ++---- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/test/run-windows-k8s-integration.sh b/test/run-windows-k8s-integration.sh index 9d77f3da7..c80439cb7 100755 --- a/test/run-windows-k8s-integration.sh +++ b/test/run-windows-k8s-integration.sh @@ -34,7 +34,7 @@ if [ "$use_kubetest2" = true ]; then go install sigs.k8s.io/kubetest2/kubetest2-tester-ginkgo@latest; fi -base_cmd="${PKGDIR}/bin/k8s-integration-test \ +${PKGDIR}/bin/k8s-integration-test \ --run-in-prow=true \ --service-account-file=${E2E_GOOGLE_APPLICATION_CREDENTIALS} \ --boskos-resource-type=${boskos_resource_type} \ @@ -53,6 +53,4 @@ base_cmd="${PKGDIR}/bin/k8s-integration-test \ --storageclass-files=sc-windows.yaml \ --snapshotclass-file=pd-volumesnapshotclass.yaml \ --test-focus='External.Storage' \ - --use-kubetest2=${use_kubetest2}" - -eval "$base_cmd" + --use-kubetest2=${use_kubetest2} diff --git a/test/run-windows-k8s-migration.sh b/test/run-windows-k8s-migration.sh index 53169a0f0..04b1ea525 100755 --- a/test/run-windows-k8s-migration.sh +++ b/test/run-windows-k8s-migration.sh @@ -41,7 +41,7 @@ readonly GCE_PD_TEST_FOCUS="PersistentVolumes\sGCEPD|[V|v]olume\sexpand|\[sig-st # TODO(#167): Enable reconstructions tests -base_cmd="${PKGDIR}/bin/k8s-integration-test \ +${PKGDIR}/bin/k8s-integration-test \ --run-in-prow=true \ --service-account-file=${E2E_GOOGLE_APPLICATION_CREDENTIALS} \ --boskos-resource-type=${boskos_resource_type} \ @@ -61,6 +61,4 @@ base_cmd="${PKGDIR}/bin/k8s-integration-test \ --storageclass-files=sc-windows.yaml \ --snapshotclass-file=pd-volumesnapshotclass.yaml \ --test-focus=${GCE_PD_TEST_FOCUS} \ - --use-kubetest2=${use_kubetest2}" - -eval "$base_cmd" + --use-kubetest2=${use_kubetest2}