From c603e8324a52008ebe98dad6df40cada9fee9af2 Mon Sep 17 00:00:00 2001 From: Dan Plischke Date: Thu, 12 Dec 2024 15:13:31 +0100 Subject: [PATCH] make ping test more reliable --- tests/asgi/test_sse.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/asgi/test_sse.py b/tests/asgi/test_sse.py index ad7ed216..05a67257 100644 --- a/tests/asgi/test_sse.py +++ b/tests/asgi/test_sse.py @@ -179,7 +179,7 @@ def test_ping_is_send_sse(sse_client): def test_custom_ping_interval(schema): app = GraphQL( schema, - http_handler=GraphQLHTTPSSEHandler(ping_interval=10), + http_handler=GraphQLHTTPSSEHandler(ping_interval=8), introspection=False, ) sse_client = TestClient(app, headers=SSE_HEADER)