Skip to content

Commit

Permalink
Relax event requirement for a flaky test
Browse files Browse the repository at this point in the history
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 <jkulikau@redhat.com>
  • Loading branch information
JustinKuli committed Apr 4, 2024
1 parent e4f2726 commit fa5b235
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/case38_install_operator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -704,7 +704,7 @@ var _ = Describe("Test installing an operator from OperatorPolicy", Ordered, fun
" 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.
Expand Down

0 comments on commit fa5b235

Please sign in to comment.