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:
Piotr Szczesniak 2015-06-03 13:29:09 +02:00
parent a2233a6cbc
commit f71baba64f

View File

@ -797,7 +797,7 @@ func RunRC(c *client.Client, name string, ns, image string, replicas int) error
defer podStore.Stop()
pods := podStore.List()
current = len(pods)
failCount := 5
failCount := 24
for same < failCount && current < replicas {
Logf("%v Controller %s: Found %d pods out of %d", time.Now(), name, current, replicas)
if last < current {