Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cloudevent: make sure we enter the channel before…
… returning. This effectively wait for the goroutine to be schedule before getting out of `SendCloudEventWithRetries`. That way we are sure the "sending cloud event" goroutine is scheduled. This doesn't wait for `ceClient.Send` to execute, just making sure we got in the goroutine. This should fix flaky tests observed during release pipeline runs. Signed-off-by: Vincent Demeester <[email protected]>
- Loading branch information