From 00e38dc791bf10e4c1cd53acc5634bb376d749ad Mon Sep 17 00:00:00 2001 From: David Simansky Date: Fri, 23 Jun 2023 14:28:36 +0200 Subject: [PATCH] Fix broker condition check (#1820) * Fix broker condition check * Relax the describe check --- lib/test/eventtype.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/test/eventtype.go b/lib/test/eventtype.go index 8c2cb4843..2608286a3 100644 --- a/lib/test/eventtype.go +++ b/lib/test/eventtype.go @@ -44,7 +44,7 @@ func EventtypeList(r *KnRunResultCollector, eventtypes ...string) { func EventtypeDescribe(r *KnRunResultCollector, name string) { out := r.KnTest().Kn().Run("eventtype", "describe", name) r.AssertNoError(out) - assert.Check(r.T(), util.ContainsAll(out.Stdout, name, r.KnTest().Kn().Namespace(), "Ready", "BrokerReady")) + assert.Check(r.T(), util.ContainsAll(out.Stdout, name, r.KnTest().Kn().Namespace(), "Conditions")) } func EventtypeCreateWithBrokerSource(r *KnRunResultCollector, name, cetype, broker, source string) {