Tests: test_session: reduce session count in unit test
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 5 Sep 2024 19:28:10 +0000 (19:28 +0000)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 5 Sep 2024 19:30:11 +0000 (19:30 +0000)
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 <jeremie.galarneau@efficios.com>
tests/unit/test_session.cpp

index 3c7e0b3fb9ca877e60f2d76adce97f3b6e5c67d9..eef16010159c26f2df7fa2b1ae208075ef0ff7b7 100644 (file)
@@ -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 */
This page took 0.024818 seconds and 4 git commands to generate.