JetBrains / teamcity-messages

Python Unit Test Reporting to TeamCity
https://pypi.python.org/pypi/teamcity-messages
Apache License 2.0
137 stars 81 forks source link

Retry writes to stream on a EAGAIN IOError #213

Closed morganwahl closed 5 years ago

morganwahl commented 5 years ago

Fixes https://github.com/JetBrains/teamcity-messages/issues/212

Includes regression test.

Normally I'd use a library like https://github.com/rholder/retrying for this, but I wasn't sure if you wanted an extra dependency.

shalupov commented 5 years ago

Thanks! Please tell if it actually fixes your issue

morganwahl commented 5 years ago

Will do. When do you expect to make a new release?

shalupov commented 5 years ago

Released 1.25

morganwahl commented 5 years ago

Cool. We were getting these multiple times a week, so if we go a week with no more of them I'll call it a success. Will update tomorrow.

morganwahl commented 5 years ago

FYI, it's been well over a week and no more IOErrors.