From 2e1d948c0a918cffb53574c2f8d434667a42f117 Mon Sep 17 00:00:00 2001 From: Justin Kulikauskas Date: Tue, 2 Apr 2024 13:47:41 -0400 Subject: [PATCH] Relax event requirement for a flaky test When the subscription has a ConstraintsNotSatisfiable condition, the exact content of the message is not always consistent. We have added other things to sort the message better, but it looks like we missed this test which was still assuming a certain part was first. Signed-off-by: Justin Kulikauskas --- test/e2e/case38_install_operator_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/case38_install_operator_test.go b/test/e2e/case38_install_operator_test.go index 30238b6e..52a1c964 100644 --- a/test/e2e/case38_install_operator_test.go +++ b/test/e2e/case38_install_operator_test.go @@ -704,7 +704,7 @@ var _ = Describe("Testing OperatorPolicy", Ordered, func() { " in the catalog referenced by subscription project-quay-does-not-exist, subscription " + "project-quay-does-not-exist exists", }, - "constraints not satisfiable: no operators found in package project-quay-does-not-exist", + "constraints not satisfiable", ) // Check if the subscription is still compliant on the operator policy trying to install a valid operator.