mirror of
https://github.com/inspec/inspec
synced 2024-11-22 20:53:11 +00:00
Skip aws test as it looking for credentials.
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
This commit is contained in:
parent
f7fdadc617
commit
bd8c5f7cbf
1 changed files with 2 additions and 1 deletions
|
@ -1171,7 +1171,8 @@ Test Summary: 2 successful, 0 failures, 0 skipped\n"
|
|||
# An actual stacktrace then will appear as sole stderr output
|
||||
let(:args) { "-t aws://" }
|
||||
it "should fail to connect to aws due to lack of creds and stacktrace" do
|
||||
_(run_result.stderr).must_include "unable to sign request without credentials set"
|
||||
skip unless ENV['AWS_REGION']
|
||||
_(run_result.stderr).must_include"unable to sign request without credentials set"
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue