Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix broken tests with ENABLE_HTTPS=0 #692

Merged
merged 1 commit into from
Sep 5, 2018

Conversation

harshavardhana
Copy link
Member

c798b8c broke our functional
tests for non TLS server setups. This PR fixes this by
skipping encryption tests on non-TLS servers.

Fixes #691

@nitisht nitisht requested review from poornas and vadmeste and removed request for poornas September 4, 2018 08:47
@@ -1672,7 +1674,7 @@ def main():
try:
access_key = os.getenv('ACCESS_KEY', 'Q3AM3UQ867SPQQA43P2F')
secret_key = os.getenv('SECRET_KEY',
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

BTW all the indentation changes I had to do since my emacs complained a lot, there are a lot of formatting errors in this file which I avoided but - these changes were automatically done by my editor.

poornas
poornas previously requested changes Sep 4, 2018
tests/functional/tests.py Outdated Show resolved Hide resolved
c798b8c broke our functional
tests for non TLS server setups. This PR fixes this by
skipping encryption tests on non-TLS servers.

Fixes minio#691
@harshavardhana
Copy link
Member Author

Adding regression label since this was supposed to be fixed in the last release.

Copy link
Member

@vadmeste vadmeste left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM & tested

@nitisht nitisht merged commit c7c4818 into minio:master Sep 5, 2018
@harshavardhana harshavardhana deleted the fix-tests branch September 5, 2018 18:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Python tests broken if used against with ENABLE_HTTPS=0
4 participants