summaryrefslogtreecommitdiffhomepage
path: root/test/unit
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit')
-rw-r--r--test/unit/applications/proto.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/applications/proto.py b/test/unit/applications/proto.py
index af05d071..5c400621 100644
--- a/test/unit/applications/proto.py
+++ b/test/unit/applications/proto.py
@@ -19,8 +19,8 @@ class TestApplicationProto(TestControl):
with open(option.temp_dir + '/' + name, 'r', errors='ignore') as f:
return re.search(pattern, f.read())
- def wait_for_record(self, pattern, name='unit.log'):
- for i in range(50):
+ def wait_for_record(self, pattern, name='unit.log', wait=150):
+ for i in range(wait):
found = self.search_in_log(pattern, name)
if found is not None: