Skip to content

Commit

Permalink
Fix broker condition check (#1820)
Browse files Browse the repository at this point in the history
* Fix broker condition check

* Relax the describe check
  • Loading branch information
dsimansk authored Jun 23, 2023
1 parent cc1a637 commit 00e38dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/test/eventtype.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 00e38dc

Please sign in to comment.