-
-
Notifications
You must be signed in to change notification settings - Fork 83
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
Tests: retry request on ConnectionError. #654
Conversation
Meh, |
On Jenkins we often get one ConnectionError in a seemingly random test. Happens on both Python 2 and 3. Retrying after a short pause helps. Fixes #648
e69705e
to
e6b601c
Compare
I have amended the commit. This was the print statement if anyone wants to try that:
To get the url out from amidst the many deprecation and other warnings:
|
Is there something which still needs to happen after the ZServer The root cause should probably get figured out eventually. |
Agreed, the root cause would be good to know. |
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.
LGTM, maybe rather than a print statement, we can add one deprecation warning, it is not perfect, but does its job, I.e. get printed on Jenkins log output 😃
And we, hopefully, will finish the year with Jenkins green 🎉 |
On Jenkins we often get one ConnectionError in a seemingly random test.
Happens on both Python 2 and 3.
Retrying after a short pause helps.
Fixes #648
Note: I added a print statement so we know if it happens, and maybe detect a pattern in the urls where this goes wrong. I tried
logger.warning
andlogger.error
, but this never showed up in the test output.In a few local parallel runs, I have seen errors on these urls: