Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
sud82 committed Dec 4, 2023
1 parent b181567 commit ccffd64
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/cluster_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,6 @@ func clusterWithMaxIgnorablePod(ctx goctx.Context) {
err error
nodeList = &v1.NodeList{}
podList = &v1.PodList{}
nodeToDrain int
)

clusterNamespacedName := getNamespacedName(
Expand All @@ -158,7 +157,7 @@ func clusterWithMaxIgnorablePod(ctx goctx.Context) {
func() {
nodeList, err = getNodeList(ctx, k8sClient)
Expect(err).ToNot(HaveOccurred())
size := len(nodeList.Items) - nodeToDrain
size := len(nodeList.Items)

deployClusterForMaxIgnorablePods(ctx, clusterNamespacedName, size)

Expand Down

0 comments on commit ccffd64

Please sign in to comment.