Commit f71baba6 authored by Piotr Szczesniak's avatar Piotr Szczesniak

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.
parent a2233a6c
...@@ -797,7 +797,7 @@ func RunRC(c *client.Client, name string, ns, image string, replicas int) error ...@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment