Failing testcase on master
See original GitHub issueI found the following error in the test suite on master. I have the following in my local ~/.aws/config
:
[default]
region = eu-central-1
When I change this region to eu-west-1, then it complains that eu-west-1 is not us-east-1, so it is indeed reading this configuration. I do not want to change my local environment, a test case shouldn’t depend on a local configuration. Why is this test there in the first place?
def test_region(self):
import boto3
_environ = dict(os.environ)
# when the region is unspecified
connection = Connection(transport=SQS.Transport)
channel = connection.channel()
assert channel.transport_options.get('region') is None
# the default region is us-east-1
> assert channel.region == 'us-east-1'
E AssertionError: assert 'eu-central-1' == 'us-east-1'
E - eu-central-1
E + us-east-1
t/unit/transport/test_SQS.py:191: AssertionError
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
How to run failed test cases in TestNG & Selenium
Test cases usually fail due to server and network issues, an unresponsive application or validation failure, or even due to scripting issues.
Read more >Investigate failing test case on master · Issue #371 - GitHub
I believe this is caused by the cache policy which rejects some inserts and thus causes this case where the token should be...
Read more >What To Do When Tests Fail? - TestProject
Tests usually fail due to server and network issues, an unresponsive application or validation failure, or scripting issues. When failures occur ...
Read more >iTest: How to run failed test cases again in a Master test-case.
Answer. Add Summarize step at the end of the master test case. Use analysis rules to fetch the failed child test cases from...
Read more >Debugging Failing Tests and Test Pipelines - GitLab
Fix tests failing in master before other development work: Failing tests on master are treated as the highest priority relative to other development...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It is checking what the
region
property is returning. It’s a legitimate unit test in my opinion.this is probably already fixed