rpm-software-management / librepo

A library providing C and Python (libcURL like) API for downloading packages and linux repository metadata in rpm-md format
http://rpm-software-management.github.io/librepo/
GNU Lesser General Public License v2.1
75 stars 91 forks source link

[tests] Wait for server to start instead of doing arbitrary sleep #147

Closed pkratoch closed 5 years ago

pkratoch commented 5 years ago

The librepo build occasionally failed on TestCaseYumPackageDownloading with error "Curl error (7): Couldn't connect to server..."

pkratoch commented 5 years ago

@lukash, ok, you are right about the timeout, so I used your solution (I can't see your comment anymore). Thanks for review.

lukash commented 5 years ago

One day I'll find out why some comments on outdated commits stay and some disappear :smile:

Thanks for the patch, merging.