]> xenbits.xensource.com Git - xenrt-citrix/xenrt.git/commitdiff
Increased timeout for upgrade plugin
authorPeenu Singh <peenu.singh@citrix.com>
Thu, 15 Oct 2015 08:41:29 +0000 (08:41 +0000)
committerPeenu Singh <peenu.singh@citrix.com>
Thu, 15 Oct 2015 08:41:29 +0000 (08:41 +0000)
exec/xenrt/lib/xenserver/host.py

index 1e193f9844315ede919af7d38324b3a8fc9bc70f..71dc1d4bb08a4016a67169ddcaed24555e5be2de 100755 (executable)
@@ -8494,7 +8494,7 @@ rm -f /etc/xensource/xhad.conf || true
         args.append("plugin=prepare_host_upgrade.py")
         args.append("fn=main")
         args.append("args:url=%s/xe-phase-1/" % (xenrt.TEC().lookup("FORCE_HTTP_FETCH") + xenrt.TEC().lookup("INPUTDIR")))
-        output = cli.execute("host-call-plugin", string.join(args), timeout=480).strip()
+        output = cli.execute("host-call-plugin", string.join(args), timeout=900).strip()
         if output != "true":
             raise xenrt.XRTFailure("Unexpected output: %s" % (output))
         xenrt.TEC().logverbose("Expected output: %s" % (output))