mirror of https://github.com/k3s-io/k3s
Try to fix flakiness by increasing timeouts, because that is always the best way to perform such a fix.
parent
cc086908aa
commit
a744623948
|
@ -223,7 +223,7 @@ func runReplicationControllerTest(c *client.Client) {
|
|||
glog.Infof("Done creating replication controllers")
|
||||
|
||||
// Give the controllers some time to actually create the pods
|
||||
if err := wait.Poll(time.Second, time.Second*10, c.ControllerHasDesiredReplicas(controllerRequest)); err != nil {
|
||||
if err := wait.Poll(time.Second, time.Second*30, c.ControllerHasDesiredReplicas(controllerRequest)); err != nil {
|
||||
glog.Fatalf("FAILED: pods never created %v", err)
|
||||
}
|
||||
|
||||
|
@ -232,7 +232,7 @@ func runReplicationControllerTest(c *client.Client) {
|
|||
if err != nil {
|
||||
glog.Fatalf("FAILED: unable to get pods to list: %v", err)
|
||||
}
|
||||
if err := wait.Poll(time.Second, time.Second*10, podsOnMinions(c, *pods)); err != nil {
|
||||
if err := wait.Poll(time.Second, time.Second*30, podsOnMinions(c, *pods)); err != nil {
|
||||
glog.Fatalf("FAILED: pods never started running %v", err)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue