wintest: give host longer to register the SRV record
authorAndrew Bartlett <abartlet@samba.org>
Fri, 17 Feb 2012 00:27:29 +0000 (11:27 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 17 Feb 2012 06:36:37 +0000 (17:36 +1100)
wintest/wintest.py

index 11fdd91..c35710a 100644 (file)
@@ -838,7 +838,7 @@ RebootOnCompletion=No
         child.sendline("shutdown -r -t 0")
         self.port_wait("${WIN_IP}", 139, wait_for_fail=True)
         self.port_wait("${WIN_IP}", 139)
-        self.retry_cmd("host -t SRV _ldap._tcp.${WIN_REALM} ${WIN_IP}", ['has SRV record'] )
+        self.retry_cmd("host -t SRV _ldap._tcp.${WIN_REALM} ${WIN_IP}", ['has SRV record'], retries=60, delay=5 )
 
 
     def start_winvm(self, vm):