Skip to content

Commit

Permalink
fix pods namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuvaraj Kakaraparthi committed Apr 12, 2023
1 parent a6bfa59 commit 5c6ce87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/framework/autoscaler_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 5c6ce87

Please sign in to comment.