Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
cahillsf committed Sep 2, 2024
1 parent c3404d0 commit 762a825
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1448,7 +1448,7 @@ func TestReconcileMachinePoolMachines(t *testing.T) {
clusterv1.ClusterNameLabel: clusterName,
clusterv1.MachinePoolNameLabel: machinePool.Name,
}
g.Expect(env.GetClient().List(ctx, machineList, client.InNamespace(cluster.Namespace), client.MatchingLabels(labels))).To(Succeed())
g.Expect(env.GetAPIReader().List(ctx, machineList, client.InNamespace(cluster.Namespace), client.MatchingLabels(labels))).To(Succeed())
g.Expect(machineList.Items).To(HaveLen(2))
for i := range machineList.Items {
machine := &machineList.Items[i]
Expand Down Expand Up @@ -1507,7 +1507,7 @@ func TestReconcileMachinePoolMachines(t *testing.T) {
clusterv1.ClusterNameLabel: clusterName,
clusterv1.MachinePoolNameLabel: machinePool.Name,
}
g.Expect(env.GetClient().List(ctx, machineList, client.InNamespace(cluster.Namespace), client.MatchingLabels(labels))).To(Succeed())
g.Expect(env.GetAPIReader().List(ctx, machineList, client.InNamespace(cluster.Namespace), client.MatchingLabels(labels))).To(Succeed())
g.Expect(machineList.Items).To(BeEmpty())
})
})
Expand Down

0 comments on commit 762a825

Please sign in to comment.