From fbde814092c765c0a4aa29cdf9661ee60ab4eaea Mon Sep 17 00:00:00 2001 From: Per Goncalves da Silva Date: Tue, 2 Jul 2024 15:45:33 +0200 Subject: [PATCH] mark flaky tests (#3333) Signed-off-by: Per Goncalves da Silva Co-authored-by: Per Goncalves da Silva --- test/e2e/fail_forward_e2e_test.go | 2 +- test/e2e/installplan_e2e_test.go | 2 +- test/e2e/operator_condition_e2e_test.go | 2 +- test/e2e/subscription_e2e_test.go | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/test/e2e/fail_forward_e2e_test.go b/test/e2e/fail_forward_e2e_test.go index 592da29e8ba..123952ab7d1 100644 --- a/test/e2e/fail_forward_e2e_test.go +++ b/test/e2e/fail_forward_e2e_test.go @@ -412,7 +412,7 @@ var _ = Describe("Fail Forward Upgrades", func() { Expect(err).Should(BeNil()) }) - It("eventually reports a successful state when using replaces", func() { + It("[FLAKE] eventually reports a successful state when using replaces", func() { By("patching the catalog with a fixed version") cleanup, deployError := updateCatalogSource(generatedNamespace.GetName(), catalogSourceName, "v0.1.0", "v0.2.0-invalid-deployment", "v0.3.0-replaces-invalid-deployment") Expect(deployError).To(BeNil()) diff --git a/test/e2e/installplan_e2e_test.go b/test/e2e/installplan_e2e_test.go index df4ab35ec94..2315794a8e8 100644 --- a/test/e2e/installplan_e2e_test.go +++ b/test/e2e/installplan_e2e_test.go @@ -1435,7 +1435,7 @@ var _ = Describe("Install Plan", func() { // excluded: new CRD, same version, same schema - won't trigger a CRD update tableEntries := []TableEntry{ - Entry("upgrade CRD with deprecated version", schemaPayload{ + Entry("[FLAKE] upgrade CRD with deprecated version", schemaPayload{ name: "upgrade CRD with deprecated version", expectedPhase: operatorsv1alpha1.InstallPlanPhaseComplete, oldCRD: func() *apiextensionsv1.CustomResourceDefinition { diff --git a/test/e2e/operator_condition_e2e_test.go b/test/e2e/operator_condition_e2e_test.go index adeee170e53..bc53ca2acd2 100644 --- a/test/e2e/operator_condition_e2e_test.go +++ b/test/e2e/operator_condition_e2e_test.go @@ -32,7 +32,7 @@ var _ = Describe("Operator Condition", func() { TeardownNamespace(generatedNamespace.GetName()) }) - It("OperatorCondition Upgradeable type and overrides", func() { + It("[FLAKE] OperatorCondition Upgradeable type and overrides", func() { By("This test proves that an operator can upgrade successfully when" + " Upgrade condition type is set in OperatorCondition spec. Plus, an operator" + " chooses not to use OperatorCondition, the upgrade process will proceed as" + diff --git a/test/e2e/subscription_e2e_test.go b/test/e2e/subscription_e2e_test.go index 9f8d225ab4a..7886f9d91ad 100644 --- a/test/e2e/subscription_e2e_test.go +++ b/test/e2e/subscription_e2e_test.go @@ -1408,7 +1408,7 @@ var _ = Describe("Subscription", func() { }) - It("creation with dependencies", func() { + It("[FLAKE] creation with dependencies", func() { kubeClient := newKubeClient() crClient := newCRClient() @@ -2567,7 +2567,7 @@ var _ = Describe("Subscription", func() { Expect(err).Should(BeNil()) }) - It("should report only package and channel deprecation conditions when bundle is no longer deprecated", func() { + It("[FLAKE] should report only package and channel deprecation conditions when bundle is no longer deprecated", func() { By("patching the OperatorGroup to reduce the bundle unpacking timeout") ogNN := types.NamespacedName{Name: operatorGroup.GetName(), Namespace: generatedNamespace.GetName()} addBundleUnpackTimeoutOGAnnotation(context.Background(), ctx.Ctx().Client(), ogNN, "5m")