wait longer for stats to be updated in test_limits(), now that rethinkdb stats are pushed only every 2.0 seconds

This commit is contained in:
Noah Levitt 2015-11-13 01:49:30 +00:00
parent c9f5b72fd7
commit 4bb7e043d4

View File

@ -564,7 +564,7 @@ def test_limits(http_daemon, warcprox_, archiving_proxies):
time.sleep(0.5)
while not warcprox_.warc_writer_thread.idle:
time.sleep(0.5)
time.sleep(0.5)
time.sleep(2.5)
response = requests.get(url, proxies=archiving_proxies, headers=headers, stream=True)
assert response.status_code == 420