-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move status command to TestFunctional/serial
I noticed that TestComponentHealth/parallel/ComponentHealth was failing with this error: ``` Error apiserver status: https://172.17.0.3:8441/healthz returned error 500: [-]etcd failed: reason withheld ``` but by the time post mortem logs were printed the etcd container was up and running. I think this test occasionally fails because apiserver healthz is not yet returning a 200 status when we run the test. We wait for healthz to return 200 on regular start, but not on soft start, which we run in `TestFunctional`. This PR adds a retry, which should give the apiserver time to become healthy.
- Loading branch information
Priya Wadhwa
committed
May 19, 2020
1 parent
bf8c4e3
commit cc40795
Showing
1 changed file
with
50 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters