Skip aws test as it looking for credentials.

Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
This commit is contained in:
Vasu1105 2022-03-10 13:59:08 +05:30
parent f7fdadc617
commit bd8c5f7cbf

View file

@ -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