hail: Fix result for node evacuation
[ganeti-local] / test / import-export_unittest-helper
index e0d5770..7d1ee96 100755 (executable)
@@ -32,8 +32,8 @@ from ganeti import objects
 from ganeti import serializer
 
 
-RETRY_INTERVAL = 0.1
-TIMEOUT = int(os.getenv("TIMEOUT", 10))
+RETRY_INTERVAL = (0.1, 1.1, 1)
+TIMEOUT = int(os.getenv("TIMEOUT", 30))
 VALIDITY = int(os.getenv("VALIDITY", 1))
 
 
@@ -90,6 +90,8 @@ def WaitForConnected(filename):
 def main():
   (filename, what) = sys.argv[1:]
 
+  Log("Running helper for %s %s", filename, what)
+
   if what == "listen-port":
     print WaitForListenPort(filename)
   elif what == "connected":