Fix broker condition check (#1820)

* Fix broker condition check

* Relax the describe check
This commit is contained in:
David Simansky 2023-06-23 14:28:36 +02:00 committed by GitHub
parent cc1a637679
commit 00e38dc791
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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) {