mirror of https://github.com/knative/client.git
Fix broker condition check (#1820)
* Fix broker condition check * Relax the describe check
This commit is contained in:
parent
cc1a637679
commit
00e38dc791
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue