lower timeout and increase payload size on brotli timeout test
it keeps failing because travis' machines are too fast lol
This commit is contained in:
parent
79e06784af
commit
4f3c877d0c
|
@ -92,11 +92,11 @@ def test_brotli_dynamic_cache(br_client):
|
||||||
def test_brotli_dynamic_timeout(app):
|
def test_brotli_dynamic_timeout(app):
|
||||||
from secrets import token_urlsafe
|
from secrets import token_urlsafe
|
||||||
|
|
||||||
libforget.brotli.brotli(app, timeout=0.01)
|
libforget.brotli.brotli(app, timeout=0.001)
|
||||||
|
|
||||||
@app.route('/hard_to_compress')
|
@app.route('/hard_to_compress')
|
||||||
def hard_to_compress():
|
def hard_to_compress():
|
||||||
return token_urlsafe(2**14)
|
return token_urlsafe(2**16)
|
||||||
|
|
||||||
client = app.test_client()
|
client = app.test_client()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue