Local environment variables interfere with tests #8652
Labels
feature-request
A feature should be added or improved.
p3
This is a minor priority issue
source-distribution
cli v2 source distritbution related issues
test
Describe the issue
When running the test suite, if the
AWS_PROFILE
version is set to something locally reasonable, some tests fail.I'd like to suggest going through the list of supported variables and unsetting all of them as part of a global test setup step - to ensure more repeatable builds. It also seems possible that this problem may cause local test success for developers where tests should really fail, as well as the reverse, which is the symptom I've encountered.
Additional Information/Context
This came up on the AUR - you can see the discussion on the AWS CLI project there.
CLI version used
2.15.40
Environment details (OS name and version, etc.)
Arch GNU/Linux, current, installed using AUR package (kernel 6.8.7)
The text was updated successfully, but these errors were encountered: