Merge pull request #3101 from quay/parallel-testing

Enable parallel testing of all the Quay unit tests
This commit is contained in:
Joseph Schorr 2018-06-06 13:13:14 -04:00 committed by GitHub
commit 55eb04e622
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 177 additions and 162 deletions

View file

@ -75,6 +75,7 @@ class liveFlaskServer(object):
raise RuntimeError("Failed to start the server after %d seconds. " % timeout)
if self._can_connect():
self.app.config['SERVER_HOSTNAME'] = 'localhost:%s' % self._port_value.value
break
def _can_connect(self):