From ac622813b2e8f2546b7a79a63a11dcbdf3a3bd0f Mon Sep 17 00:00:00 2001 From: Yann Ylavic Date: Fri, 7 Jul 2023 08:21:21 +0000 Subject: pytests: Ignore log errors/warnings per function. It's easier to control errors at the function scope and it avoids ignored errors/warnings to propagate to the following tests (i.e. mask further unexpected errors). github: closes #371 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1910844 13f79535-47bb-0310-9956-ffa450edef68 --- test/modules/http2/test_800_websockets.py | 1 - 1 file changed, 1 deletion(-) (limited to 'test/modules/http2/test_800_websockets.py') diff --git a/test/modules/http2/test_800_websockets.py b/test/modules/http2/test_800_websockets.py index 97e7373735..2e3d03a0e5 100644 --- a/test/modules/http2/test_800_websockets.py +++ b/test/modules/http2/test_800_websockets.py @@ -154,7 +154,6 @@ class TestWebSockets: r, infos, frames = ws_run(env, path='/ws/echo/', scenario='fail-proto') assert r.exit_code == 0, f'{r}' assert infos == ['[1] :status: 501', '[1] EOF'], f'{r}' - env.httpd_error_log.ignore_recent() # a correct CONNECT, send CLOSE, expect CLOSE, basic success def test_h2_800_02_ws_empty(self, env: H2TestEnv, ws_server): -- cgit v1.2.3