Allow integration test servers extra time to start

This commit is contained in:
Jordan Liggitt 2020-07-23 17:46:59 -04:00
parent 04ecdb9eb6
commit 22c9236741
2 changed files with 2 additions and 2 deletions

View File

@ -205,7 +205,7 @@ func StartTestServer(t Logger, instanceOptions *TestServerInstanceOptions, custo
}
// wait until healthz endpoint returns ok
err = wait.Poll(100*time.Millisecond, 30*time.Second, func() (bool, error) {
err = wait.Poll(100*time.Millisecond, time.Minute, func() (bool, error) {
select {
case err := <-errCh:
return false, err

View File

@ -164,7 +164,7 @@ func StartTestServer(t Logger, instanceOptions *TestServerInstanceOptions, custo
if err != nil {
return result, fmt.Errorf("failed to create a client: %v", err)
}
err = wait.Poll(100*time.Millisecond, 30*time.Second, func() (bool, error) {
err = wait.Poll(100*time.Millisecond, time.Minute, func() (bool, error) {
select {
case err := <-errCh:
return false, err