-
Notifications
You must be signed in to change notification settings - Fork 420
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
Add smoke tests for urllib3. #446
Conversation
I assume you mean tox envlist and not travis since you definitely added it to travis 😃 |
Ok, so I've got tests running. We do have some breakage. Part of that is that PyOpenSSL is raising new warnings that urllib3 is not expecting: we should fix that on urllib3's end. Some other bits are a bit more surprising, but I just realised that I maybe know where they're coming from. |
Sounds like it was already worth it. :) |
The failing builds should be fixed when urllib3/urllib3#813 is merged to master. |
Current coverage is
|
Let's whitelist /bin/rm to get rid of this warning: https://travis-ci.org/pyca/pyopenssl/jobs/115940344#L339 |
Hmm, that test failure is unrelated, but concerning. |
Yeah that failure is a really weird flake I have seen only on OS X so far. I tried to step through it and it indeed never reaches the callback. @reaperhulk any idea about it? https://travis-ci.org/pyca/pyopenssl/jobs/115946570 It’s indeed scary but I’m not sure if it’s a pyOpenSSL issue. |
set -e | ||
set -x | ||
|
||
git clone https://github.com/shazow/urllib3.git |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use --depth 1
we don’t need the whole history.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK
FTR I’ve opened #447 for the test flake mentioned. |
@hynek is worried about breaking urllib3 with changes, so he wants some smoke tests for urllib3. This adds them to the Travis environment.
Because urllib3 doesn't install its test suites when pip installed, we need to do a git clone of the repository. This means that this test failing can potentially severely dirty the user's working copy, so it's deliberately excluded from the Travis envlist.