From 3af71a26742bcc49a1a860404e977b0f3670a9c5 Mon Sep 17 00:00:00 2001 From: Lex Berezhny Date: Mon, 13 Jul 2020 16:45:35 -0400 Subject: [PATCH] lower event stress test params since it fails too easily on CI --- tests/unit/test_event_controller.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/unit/test_event_controller.py b/tests/unit/test_event_controller.py index 00b8ec3dd..171ed9f18 100644 --- a/tests/unit/test_event_controller.py +++ b/tests/unit/test_event_controller.py @@ -92,8 +92,8 @@ class StreamControllerTestCase(AsyncioTestCase): class TestEventQueuePublisher(AsyncioTestCase): async def test_event_buffering_avoids_overloading_asyncio(self): - threads = 4 - generate_events = 3000 + threads = 3 + generate_events = 2000 expected_event_count = (threads * generate_events)-1 queue = mp.Queue()