From dfb7f64ba65baf3518339cd61a5f731f0d988de9 Mon Sep 17 00:00:00 2001 From: Clinton Wolfe Date: Mon, 29 Mar 2021 22:13:11 -0400 Subject: [PATCH] Explicitly force default timeout in tests Signed-off-by: Clinton Wolfe --- test/unit/resources/json_test.rb | 1 + 1 file changed, 1 insertion(+) 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