summaryrefslogtreecommitdiffstats
path: root/test/modules/http2/test_800_websockets.py
diff options
context:
space:
mode:
authorYann Ylavic <ylavic@apache.org>2023-07-07 10:21:21 +0200
committerYann Ylavic <ylavic@apache.org>2023-07-07 10:21:21 +0200
commitac622813b2e8f2546b7a79a63a11dcbdf3a3bd0f (patch)
tree612c5c01e5ababb96d0fbe0e8dbb615b38b17773 /test/modules/http2/test_800_websockets.py
parentAdd application/vnd.geogebra.slides mime type (diff)
downloadapache2-ac622813b2e8f2546b7a79a63a11dcbdf3a3bd0f.tar.xz
apache2-ac622813b2e8f2546b7a79a63a11dcbdf3a3bd0f.zip
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
Diffstat (limited to 'test/modules/http2/test_800_websockets.py')
-rw-r--r--test/modules/http2/test_800_websockets.py1
1 files changed, 0 insertions, 1 deletions
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):