Merge pull request #3137 from cortesi/races

track down racy tests
This commit is contained in:
Aldo Cortesi 2018-05-18 10:09:20 +12:00 committed by GitHub
commit eaca8fdaf7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -57,6 +57,9 @@ class TBase(tservers.HTTPProxyTest):
assert l.response.status_code == 304
l.request.path = "/p/305"
l.response = None
l.live = False
l.intercepted = False
cr.start_replay([l])
self.wait_response(l)
assert l.response.status_code == 305