diff --git a/test/unit/resources/json_test.rb b/test/unit/resources/json_test.rb index 68cc973bb..eb3cd7715 100644 --- a/test/unit/resources/json_test.rb +++ b/test/unit/resources/json_test.rb @@ -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