Skip to content

Commit b97683a

Browse files
committed
util fix
1 parent 0671f4d commit b97683a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/e2e/util.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1067,6 +1067,7 @@ func bringDownCsiController(Client clientset.Interface, namespace ...string) {
10671067
// bringDownTKGController helps to bring the TKG control manager pod down.
10681068
// Its taks svc client as input.
10691069
func bringDownTKGController(Client clientset.Interface) {
1070+
vsphereTKGSystemNamespace = GetAndExpectStringEnvVar(envVsphereTKGSystemNamespace)
10701071
updateDeploymentReplica(Client, 0, vsphereControllerManager, vsphereTKGSystemNamespace)
10711072
ginkgo.By("TKGControllManager replica is set to 0")
10721073
}
@@ -1089,6 +1090,7 @@ func bringUpCsiController(Client clientset.Interface, csiReplicaCount int32, nam
10891090
// bringUpTKGController helps to bring the TKG control manager pod up.
10901091
// Its taks svc client as input.
10911092
func bringUpTKGController(Client clientset.Interface, tkgReplica int32) {
1093+
vsphereTKGSystemNamespace = GetAndExpectStringEnvVar(envVsphereTKGSystemNamespace)
10921094
err := updateDeploymentReplicawithWait(Client, tkgReplica, vsphereControllerManager, vsphereTKGSystemNamespace)
10931095
gomega.Expect(err).NotTo(gomega.HaveOccurred())
10941096
ginkgo.By("TKGControllManager is up")

0 commit comments

Comments
 (0)