B #5550: increased timeout for oneshowback and decreased for zones

(cherry picked from commit 93b8c6d52d)
This commit is contained in:
juanmont authored and Ruben S. Montero committed 2017-11-17 15:53:20 +01:00
1 parent 3b5a77ec94
commit 46bf8d1748
3 files changed
+5 -3

No files matched your search

+2 -2
View File
@@ -417,8 +417,8 @@ EOT
else
sync = true
end
@@client=OpenNebula::Client.new(secret, endpoint, :sync => sync)
options[:sync] = sync
@@client=OpenNebula::Client.new(secret, endpoint, options)
end
end
+2 -1
View File
@@ -124,7 +124,8 @@ class OneZoneHelper < OpenNebulaHelper::OneHelper
next if endpoint.nil?
client = OpenNebula::Client.new(nil, endpoint)
options[:timeout] = 5 #5 sec
client = OpenNebula::Client.new(nil, endpoint, options)
xml_doc = client.call("zone.raftstatus")
+1
View File
@@ -43,6 +43,7 @@ cmd = CommandParser::CmdParser.new(ARGV) do
helper=OpenNebulaHelper::OneHelper.new
before_proc do
options[:timeout] = 60 #60 sec
helper.set_client(options)
end