Home
last modified time | relevance | path

Searched refs:wait_for_record (Results 1 – 15 of 15) sorted by relevance

/unit/test/
H A Dtest_access_log.py30 def test_access_log_keepalive(wait_for_record): argument
56 def test_access_log_pipeline(wait_for_record): argument
92 def test_access_log_ipv6(wait_for_record): argument
102 wait_for_record(
121 wait_for_record(
128 def test_access_log_referer(wait_for_record): argument
140 wait_for_record(
159 wait_for_record(
166 def test_access_log_http10(wait_for_record): argument
177 def test_access_log_partial(wait_for_record): argument
[all …]
H A Dtest_variables.py52 def test_variables_request_time(wait_for_record): argument
82 def test_variables_method(search_in_file, wait_for_record): argument
112 def test_variables_uri(search_in_file, wait_for_record): argument
150 def test_variables_host(search_in_file, wait_for_record): argument
184 assert wait_for_record(reg, 'access.log') is not None
188 date_to_sec_epoch, search_in_file, wait_for_record argument
211 assert wait_for_record(reg, 'access.log') is not None
222 assert wait_for_record(reg, 'access.log') is not None
273 def test_variables_many(search_in_file, wait_for_record): argument
294 def test_variables_dynamic(wait_for_record): argument
[all …]
H A Dtest_asgi_lifespan.py103 def test_asgi_lifespan_failed(wait_for_record): argument
109 wait_for_record(r'\[error\].*Application startup failed') is not None
111 assert wait_for_record(r'Exception blah') is not None, 'exception'
114 def test_asgi_lifespan_error(wait_for_record): argument
119 assert wait_for_record(r'Exception blah') is not None, 'exception'
122 def test_asgi_lifespan_error_auto(wait_for_record): argument
127 assert wait_for_record(r'AssertionError') is not None, 'assertion'
H A Dtest_usr1.py13 def test_usr1_access_log(search_in_file, temp_dir, unit_pid, wait_for_record): argument
31 wait_for_record(r'"GET / HTTP/1.1" 200 0 "-" "-"', log_new) is not None
42 wait_for_record(r'"GET /usr1 HTTP/1.1" 200 0 "-" "-"', log) is not None
47 def test_usr1_unit_log(search_in_file, temp_dir, unit_pid, wait_for_record): argument
62 assert wait_for_record(body, log_new) is not None, 'rename new'
72 assert wait_for_record(body) is not None, 'rename new'
H A Dtest_ruby_application.py188 def test_ruby_application_errors_puts(wait_for_record): argument
194 wait_for_record(r'\[error\].+Error in application') is not None
198 def test_ruby_application_errors_puts_int(wait_for_record): argument
204 wait_for_record(r'\[error\].+1234567890') is not None
208 def test_ruby_application_errors_write(wait_for_record): argument
213 wait_for_record(r'\[error\].+Error in application') is not None
223 def test_ruby_application_errors_write_int(wait_for_record): argument
228 wait_for_record(r'\[error\].+1234567890') is not None
232 def test_ruby_application_at_exit(wait_for_record): argument
240 wait_for_record(r'\[error\].+At exit called\.') is not None
[all …]
H A Dtest_python_application.py186 def test_python_application_ctx_iter_atexit(wait_for_record): argument
310 def test_python_atexit(wait_for_record): argument
478 def test_python_application_errors_write(wait_for_record): argument
522 def test_python_application_close(wait_for_record): argument
527 assert wait_for_record(r'Close called\.') is not None, 'close'
530 def test_python_application_close_error(wait_for_record): argument
538 def test_python_application_not_iterable(wait_for_record): argument
544 wait_for_record(
632 def test_python_application_threading(wait_for_record): argument
643 wait_for_record(r'\(5\) Thread: 100', wait=50) is not None
[all …]
H A Dtest_perl_application.py141 def test_perl_application_errors_print(wait_for_record): argument
147 wait_for_record(r'\[error\].+Error in application') is not None
247 def test_perl_body_io_fake(wait_for_record): argument
253 wait_for_record(r'\[error\].+IOFake getline\(\) \$\/ is \d+')
258 wait_for_record(r'\[error\].+IOFake close\(\) called') is not None
H A Dtest_rewrite.py40 def test_rewrite(findall, wait_for_record): argument
42 assert wait_for_record(rf'\[notice\].*"routes/1" selected') is not None
H A Dtest_settings.py435 def test_settings_log_route(findall, search_in_file, wait_for_record): argument
456 assert wait_for_record(template_req_line(uri)) is not None
457 assert wait_for_record(template_selected(route)) is not None
H A Dtest_asgi_application.py399 def test_asgi_application_threading(wait_for_record): argument
410 wait_for_record(r'\(5\) Thread: 100', wait=50) is not None
H A Dtest_tls.py606 def test_tls_application_respawn(findall, skip_alert, wait_for_record): argument
631 wait_for_record(fr' (?!{app_id}#)(\d+)#\d+ "mirror" application started')
H A Dtest_php_application.py626 def test_php_application_error_log(findall, wait_for_record): argument
637 assert wait_for_record(pattern) is not None, 'errors print'
H A Dconftest.py702 def wait_for_record(): function
704 return Log.wait_for_record(*args, **kwargs)
/unit/test/unit/check/
H A Ddiscover_available.py23 if Log.wait_for_record(r'controller started') is None:
/unit/test/unit/
H A Dlog.py103 def wait_for_record(pattern, name=UNIT_LOG, wait=150, flags=re.M): member in Log