From 5c6ce87542e1dce8756f0c5014ec3e0874178ba4 Mon Sep 17 00:00:00 2001 From: Yuvaraj Kakaraparthi Date: Tue, 11 Apr 2023 21:20:12 -0700 Subject: [PATCH] fix pods namespace --- test/framework/autoscaler_helpers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/framework/autoscaler_helpers.go b/test/framework/autoscaler_helpers.go index 06e784ad68cd..a15e5d27be2f 100644 --- a/test/framework/autoscaler_helpers.go +++ b/test/framework/autoscaler_helpers.go @@ -165,7 +165,7 @@ func ApplyAutoscalerToWorkloadCluster(ctx context.Context, input ApplyAutoscaler // Get all the pods and dump them. pods := &corev1.PodList{} for i := 0; i < 12; i++ { - Expect(input.WorkloadClusterProxy.GetClient().List(ctx, pods, client.InNamespace("cluster-autoscaler"))).To(Succeed()) + Expect(input.WorkloadClusterProxy.GetClient().List(ctx, pods, client.InNamespace("cluster-autoscaler-system"))).To(Succeed()) log.Logf("The pods are:") log.Logf("%v", pods) time.Sleep(10 * time.Second)