summaryrefslogtreecommitdiffhomepage
path: root/test/test_perl_application.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_perl_application.py')
-rw-r--r--test/test_perl_application.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test_perl_application.py b/test/test_perl_application.py
index 00d4a3e5..df037155 100644
--- a/test/test_perl_application.py
+++ b/test/test_perl_application.py
@@ -137,7 +137,7 @@ class TestPerlApplication(TestApplicationPerl):
self.stop()
self.assertIsNotNone(
- self.search_in_log(r'\[error\].+Error in application'),
+ self.wait_for_record(r'\[error\].+Error in application'),
'errors print',
)
@@ -226,12 +226,12 @@ class TestPerlApplication(TestApplicationPerl):
self.assertEqual(self.get()['body'], '21', 'body io fake')
self.assertIsNotNone(
- self.search_in_log(r'\[error\].+IOFake getline\(\) \$\/ is \d+'),
+ self.wait_for_record(r'\[error\].+IOFake getline\(\) \$\/ is \d+'),
'body io fake $/ value',
)
self.assertIsNotNone(
- self.search_in_log(r'\[error\].+IOFake close\(\) called'),
+ self.wait_for_record(r'\[error\].+IOFake close\(\) called'),
'body io fake close',
)