Turn on parallelism for inspec_shell_test.rb

Seems safe after several runs.

Takes the time down from ~180s to 22s.

Signed-off-by: Ryan Davis <zenspider@chef.io>
This commit is contained in:
Ryan Davis 2019-09-13 17:54:06 -07:00
parent ba462724db
commit d3f81f1194

View file

@ -3,6 +3,8 @@ require "functional/helper"
describe "inspec shell tests" do describe "inspec shell tests" do
include FunctionalHelper include FunctionalHelper
parallelize_me!
describe "cmd" do describe "cmd" do
def assert_shell_c(code, exit_status, json = false, stderr = "") def assert_shell_c(code, exit_status, json = false, stderr = "")
json_suffix = " --reporter 'json'" if json json_suffix = " --reporter 'json'" if json