From: Jérémie Galarneau Date: Thu, 5 Sep 2024 19:28:10 +0000 (+0000) Subject: Tests: test_session: reduce session count in unit test X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=bdd47b218860c680eecc5f68b04e3af6007476a9;p=lttng-tools.git Tests: test_session: reduce session count in unit test 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 --- 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 */