mirror of
https://github.com/internetarchive/warcprox.git
synced 2025-01-18 13:22:09 +01:00
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:
parent
c9f5b72fd7
commit
4bb7e043d4
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user