linkerd2/testutil
Dennis Adjei-Baah 15e87bfd8d
Increase retry timeout for retryable tests, refactor RetryFor (#1835)
When running integration tests in a Kubernetes cluster that sometimes takes a little longer to get pods ready, the integration tests fail tests too early because most tests have a retry timeout of 30 seconds. 

This PR bumps up this retry timeout for `TestInstall` to 3 minutes. This gives the test enough time to download any new docker images that it needs to complete succesfully and also reduces the need to have large timeout values for subsequent tests. This PR also refactors `CheckPods` to check that all containers in a pods for a deployment are in a`Ready` state. This helps also helps in ensuring that all docker images have been downloaded and the pods are in a good state.

Tests were run on the community cluster and all were successful.

Signed-off-by: Dennis Adjei-Baah <dennis@buoyant.io>
2018-11-06 16:03:58 -08:00
..
doc.go Rename CLI from conduit to linkerd (#1312) 2018-07-12 17:14:07 -07:00
kubernetes_helper.go Increase retry timeout for retryable tests, refactor RetryFor (#1835) 2018-11-06 16:03:58 -08:00
stream.go Add integration tests for tap (#1152) 2018-06-19 14:05:36 -07:00
test_helper.go Increase retry timeout for retryable tests, refactor RetryFor (#1835) 2018-11-06 16:03:58 -08:00