Explicitly force default timeout in tests

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
This commit is contained in:
Clinton Wolfe 2021-03-29 22:13:11 -04:00
parent 81305d3270
commit dfb7f64ba6

View file

@ -95,6 +95,7 @@ describe "Inspec::Resources::JSON" do
# stdout:empty, stderr:empty
def run_json_cmd(cmd)
Inspec::Config.cached["command_timeout"] = 3600 # Reset to default
quick_resource("json", :linux, command: cmd)
end