From bdd47b218860c680eecc5f68b04e3af6007476a9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Thu, 5 Sep 2024 19:28:10 +0000 Subject: [PATCH] Tests: test_session: reduce session count in unit test MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The destruction of the sessions takes 45 secondes to complete and I don't see what testing 10 000 iterations tests that is not achieved by 1 000 iterations. That step now completes in 32ms on my development machine 🌪 Change-Id: I84e807750678144045974f27d084dd45f0f9713b Signed-off-by: Jérémie Galarneau --- tests/unit/test_session.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/test_session.cpp b/tests/unit/test_session.cpp index 3c7e0b3fb..eef160101 100644 --- a/tests/unit/test_session.cpp +++ b/tests/unit/test_session.cpp @@ -25,7 +25,7 @@ #define SESSION1 "test1" -#define MAX_SESSIONS 10000 +#define MAX_SESSIONS 1000 #define RANDOM_STRING_LEN 11 /* Number of TAP tests in this file */ -- 2.34.1