Browse Source

Updated timeouts

master
Artyom Beilis 6 years ago
parent
commit
dc14d9b271
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      tests/http_timeouts_test.py

+ 2
- 2
tests/http_timeouts_test.py View File

@@ -73,9 +73,9 @@ if len(sys.argv) >= 3:
if write:
print 'Write to the client timeout'
test_unfinished_read('GET /async/long HTTP/1.0',0,0)
test_unfinished_read('GET /async/long HTTP/1.0',timeout_time + 15,1000)
test_unfinished_read('GET /async/long HTTP/1.0',timeout_time + 20,1000)
test_unfinished_read('GET /sync/long HTTP/1.0',0,0)
test_unfinished_read('GET /sync/long HTTP/1.0',timeout_time + 15,1000)
test_unfinished_read('GET /sync/long HTTP/1.0',timeout_time + 20,1000)
else:
print 'Read from client timeouts'
test_unfinished_out('')


Loading…
Cancel
Save