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)