mirror of
https://github.com/inspec/inspec
synced 2025-02-17 06:28:40 +00:00
Explicitly force default timeout in tests
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
This commit is contained in:
parent
81305d3270
commit
dfb7f64ba6
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue