Extending timeout, allow one sync.

This commit is contained in:
Jan Mußler 2020-10-21 15:39:09 +02:00
parent 2066256a17
commit 9b596f1eb7
2 changed files with 4 additions and 4 deletions

View File

@ -27,7 +27,7 @@ class EndToEndTestCase(unittest.TestCase):
# `kind` pods may stuck in the `Terminating` phase for a few minutes; hence high test timeout
TEST_TIMEOUT_SEC = 600
def eventuallyEqual(self, f, x, m, retries=25, interval=2):
def eventuallyEqual(self, f, x, m, retries=60, interval=2):
while True:
try:
y = f()
@ -39,7 +39,7 @@ class EndToEndTestCase(unittest.TestCase):
raise
time.sleep(interval)
def eventuallyNotEqual(self, f, x, m, retries=25, interval=2):
def eventuallyNotEqual(self, f, x, m, retries=60, interval=2):
while True:
try:
y = f()
@ -51,7 +51,7 @@ class EndToEndTestCase(unittest.TestCase):
raise
time.sleep(interval)
def eventuallyTrue(self, f, m, retries=25, interval=2):
def eventuallyTrue(self, f, m, retries=60, interval=2):
while True:
try:
self.assertTrue(f(), m)

View File

@ -225,7 +225,7 @@ func (c *Controller) processEvent(event ClusterEvent) {
switch event.EventType {
case EventAdd:
if clusterFound {
lg.Debugf("cluster already exists")
lg.Debugf("Recieved add event for existing cluster")
return
}