integration: sleep for amount of time before running tests (#956)

Most of the flaky failure due to the fact that not all pods are ready
yet. We currently check the readiness by get all deployments and
heuristic parsing the output. So let wait for another 10 seconds before
running tests.
This commit is contained in:
Cuong Manh Le 2020-06-22 11:16:06 +07:00 committed by GitHub
parent 5b9c09caba
commit 84dde097c7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -230,6 +230,7 @@ func applyManifests(ctx context.Context, jsonsrc string) error {
}
<-ticker.C
}
time.Sleep(time.Second * 10)
log.Info().Msg("all deployments are ready")
return nil