client/pkg/wait
Roland Huß f634ab90c0
fix(serving): Add an error window for ReadyCondition (#644)
* fix(serving): Add an error window for ReadyCondition

A default error window of 2 seconds (not sure if this should be made configurable
as it is hard to explain/document) cause return an error during
sync operations only, if a ReadyCondition == false stays for that
long in false. This is needed to compensate situation where the
condition is false when a race between revision and route creation
occurse during a service creation.

This should fix the flakes we have in our E2E tests as described in #544.

* fix: words, words

* fix(serving): More words + a check
2020-02-07 12:06:14 -08:00
..
poll_watcher.go In waiting for ready, watch falls back to polling. (#491) 2019-11-19 22:48:08 -08:00
poll_watcher_test.go feature(serving): Update API to serving.knative.dev/v1 (#640) 2020-02-07 02:03:14 -08:00
test_wait_helper.go feature(serving): Update API to serving.knative.dev/v1 (#640) 2020-02-07 02:03:14 -08:00
wait_for_ready.go fix(serving): Add an error window for ReadyCondition (#644) 2020-02-07 12:06:14 -08:00
wait_for_ready_test.go fix(serving): Add an error window for ReadyCondition (#644) 2020-02-07 12:06:14 -08:00