mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-05 18:24:07 +00:00
Increased failCount param in RunRC function for e2e tests.
The previous value was 10 (equivalent of 50sec) current is 24 (2min). Time in brackets mean: how long should I wait for the next pod of RC to be created. While we are creating 3000 pods for scalability tests it tends to fail.
This commit is contained in:
parent
a2233a6cbc
commit
f71baba64f
@ -797,7 +797,7 @@ func RunRC(c *client.Client, name string, ns, image string, replicas int) error
|
|||||||
defer podStore.Stop()
|
defer podStore.Stop()
|
||||||
pods := podStore.List()
|
pods := podStore.List()
|
||||||
current = len(pods)
|
current = len(pods)
|
||||||
failCount := 5
|
failCount := 24
|
||||||
for same < failCount && current < replicas {
|
for same < failCount && current < replicas {
|
||||||
Logf("%v Controller %s: Found %d pods out of %d", time.Now(), name, current, replicas)
|
Logf("%v Controller %s: Found %d pods out of %d", time.Now(), name, current, replicas)
|
||||||
if last < current {
|
if last < current {
|
||||||
|
Loading…
Reference in New Issue
Block a user