naturalness / partycrasher

Automated scalable crash bucketing
http://partycrasher.readthedocs.io/
GNU General Public License v3.0
15 stars 3 forks source link

Travis-CI Build Fails; Unable to connect to rest server #22

Closed eddieantonio closed 8 years ago

eddieantonio commented 8 years ago

https://travis-ci.org/naturalness/partycrasher/builds/113933162#L578

I'm not sure why all other tests pass, but these two may fail. It passes on my MacBook...

eddieantonio commented 8 years ago

We had previously hard-coded time.sleep(1) but it takes up to .25 seconds longer for the REST service to be ready. Sometimes. Hence, tests would fail non-deterministically because the REST service just wasn't up for whatever reason. I added a delay with a 5 second timeout to alleviate this in 36b26c97dea744fdc65097cc3fdce81ea10ff5f3.