mirror of
https://github.com/pomerium/pomerium.git
synced 2025-05-30 17:37:25 +02:00
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:
parent
5b9c09caba
commit
84dde097c7
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue