From 5d2c522b6204203d4f787911a703c909cd0d6174 Mon Sep 17 00:00:00 2001 From: Pankti Shah Date: Thu, 29 Feb 2024 17:12:45 -0800 Subject: [PATCH] Skip flaky unit tests --- .../cloudstack/reconciler/reconciler_test.go | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/pkg/providers/cloudstack/reconciler/reconciler_test.go b/pkg/providers/cloudstack/reconciler/reconciler_test.go index ca48d3464d56a..ec779841f0e24 100644 --- a/pkg/providers/cloudstack/reconciler/reconciler_test.go +++ b/pkg/providers/cloudstack/reconciler/reconciler_test.go @@ -42,7 +42,9 @@ const ( clusterNamespace = "test-namespace" ) -func TestCloudStackReconcilerReconcileSuccess(t *testing.T) { +func TestReconcilerReconcileSuccess(t *testing.T) { + t.Skip("Flaky (https://github.com/aws/eks-anywhere/issues/6996)") + tt := newReconcilerTest(t) // We want to check that the cluster status is cleaned up if validations are passed tt.cluster.SetFailure(anywherev1.FailureReasonType("InvalidCluster"), "invalid cluster") @@ -172,7 +174,9 @@ func TestReconcilerValidateMachineConfigFail(t *testing.T) { tt.Expect(tt.cluster.Status.FailureReason).To(HaveValue(Equal(anywherev1.MachineConfigInvalidReason))) } -func TestCloudStackReconcilerControlPlaneIsNotReady(t *testing.T) { +func TestReconcilerControlPlaneIsNotReady(t *testing.T) { + t.Skip("Flaky (https://github.com/aws/eks-anywhere/issues/7000)") + tt := newReconcilerTest(t) kcpVersion := "v1.19.8" @@ -207,7 +211,9 @@ func TestCloudStackReconcilerControlPlaneIsNotReady(t *testing.T) { tt.Expect(result).To(Equal(controller.ResultWithRequeue(30 * time.Second))) } -func TestCloudStackReconcileControlPlaneUnstackedEtcdSuccess(t *testing.T) { +func TestReconcileControlPlaneUnstackedEtcdSuccess(t *testing.T) { + t.Skip("Flaky (https://github.com/aws/eks-anywhere/issues/7001)") + tt := newReconcilerTest(t) tt.cluster.Spec.ExternalEtcdConfiguration = &anywherev1.ExternalEtcdConfiguration{ Count: 1,