diff options
| author | Andrei Belov <defan@nginx.com> | 2019-08-22 21:33:54 +0300 |
|---|---|---|
| committer | Andrei Belov <defan@nginx.com> | 2019-08-22 21:33:54 +0300 |
| commit | a07c4d30a64f781f93730576b5dced32422a9935 (patch) | |
| tree | 06ebfaa66845a057b8069014c5379b2dcfc80861 /test/test_access_log.py | |
| parent | 8a579acddeae0c0106e15d82aa7220ac01deba84 (diff) | |
| parent | c47af243b0e805376c4ec908f21e07dc811b33f0 (diff) | |
| download | unit-1.10.0-1.tar.gz unit-1.10.0-1.tar.bz2 | |
Merged with the default branch.1.10.0-1
Diffstat (limited to 'test/test_access_log.py')
| -rw-r--r-- | test/test_access_log.py | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/test/test_access_log.py b/test/test_access_log.py index 49497ad2..fbcc131f 100644 --- a/test/test_access_log.py +++ b/test/test_access_log.py @@ -180,7 +180,9 @@ Connection: close self.assertEqual(self.post()['status'], 200, 'init') - resp = self.http(b"""GE""", raw=True, read_timeout=5) + resp = self.http(b"""GE""", raw=True, read_timeout=1) + + time.sleep(1) self.stop() @@ -206,7 +208,9 @@ Connection: close self.assertEqual(self.post()['status'], 200, 'init') - resp = self.http(b"""GET / HTTP/1.1""", raw=True, read_timeout=5) + resp = self.http(b"""GET / HTTP/1.1""", raw=True, read_timeout=1) + + time.sleep(1) self.stop() @@ -219,7 +223,9 @@ Connection: close self.assertEqual(self.post()['status'], 200, 'init') - resp = self.http(b"""GET / HTTP/1.1\n""", raw=True, read_timeout=5) + resp = self.http(b"""GET / HTTP/1.1\n""", raw=True, read_timeout=1) + + time.sleep(1) self.stop() |
