We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7ccae2d commit 6b82fa3Copy full SHA for 6b82fa3
1 file changed
t/test_http_request.py
@@ -5,6 +5,7 @@
5
6
import unittest
7
import nginx
8
+import time
9
import sys
10
import re
11
@@ -147,6 +148,9 @@ def test_log(self):
147
148
r = self.http('/log')
149
self.assertEqual(r.status, 200)
150
151
+ # wait for the log phase to finish
152
+ time.sleep(.1)
153
+
154
log = open(self.__class__.ngx.log_file)
155
m = None
156
for line in log:
0 commit comments