From 1fff7d51f9267f85e6a46be43760c0ceb52817fa Mon Sep 17 00:00:00 2001 From: Abhisek Dwivedi Date: Tue, 27 Feb 2024 14:55:32 +0530 Subject: [PATCH] Fixed test-cases --- test/k8snode_block_list_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/k8snode_block_list_test.go b/test/k8snode_block_list_test.go index 502eab962..8dcc9f456 100644 --- a/test/k8snode_block_list_test.go +++ b/test/k8snode_block_list_test.go @@ -145,7 +145,7 @@ var _ = Describe( By("Blocking the k8s node and setting maxIgnorablePod to 1") aeroCluster, err = getCluster(k8sClient, ctx, clusterNamespacedName) Expect(err).ToNot(HaveOccurred()) - maxIgnorablePods := intstr.FromInt(1) + maxIgnorablePods := intstr.FromInt32(1) aeroCluster.Spec.RackConfig.MaxIgnorablePods = &maxIgnorablePods aeroCluster.Spec.K8sNodeBlockList = []string{oldK8sNode} err = updateCluster(k8sClient, ctx, aeroCluster)