Fix Security Server no-smack stress tests. 02/19202/2
authorMarcin Lis <m.lis@samsung.com>
Fri, 4 Apr 2014 12:49:13 +0000 (14:49 +0200)
committerMarcin Niesluchowski <m.niesluchow@samsung.com>
Mon, 14 Apr 2014 16:36:29 +0000 (09:36 -0700)
[Bug/Feature]  Security-server stress tests failure with smack disabled.
[Cause]        Security-server is able to handle only 5 clients in
               waiting queue.
[Solution]     Reduce the number of threads to 5.
[Verification] Build, install and run tests on smack and non-smack
               environment, stress tests should pass.

Change-Id: I099df21a279ede482d4a4e214f9e83f9a0db654e
Signed-off-by: Marcin Lis <m.lis@samsung.com>
tests/security-server-tests/security_server_tests_stress.cpp

index 815dec0..a94463d 100644 (file)
@@ -28,7 +28,7 @@ std::mutex g_msgMutex;
 size_t g_successes = 0;
 
 //number of threads
-const size_t g_threadsNumber = 100;
+const size_t g_threadsNumber = 5;
 
 //environment setup
 const std::string g_subject("woda");