Currently, there is a code that waits for triggers to report ready:
|
err := duck.WaitForResourceReady(ctx.Client.Dynamic, meta) |
|
if err != nil { |
|
ctx.T.Fatal(err) |
|
} |
And that code is invoked before those trigger's subscribers are even deployed:
|
p.deployConfiguration() |
|
p.deployReceiver() |
|
if p.config.Serving.Use { |
|
p.deployForwarder() |
|
} |
We should check for readiness state, once, only at:
|
p.client.WaitForAllTestResourcesReadyOrFail(p.config.Ctx) |
Currently, there is a code that waits for triggers to report ready:
eventing/test/upgrade/prober/sut/broker.go
Lines 136 to 139 in 674815e
And that code is invoked before those trigger's subscribers are even deployed:
eventing/test/upgrade/prober/prober.go
Lines 192 to 196 in 674815e
We should check for readiness state, once, only at:
eventing/test/upgrade/prober/prober.go
Line 197 in 674815e