From: Marcin Lis Date: Fri, 4 Apr 2014 12:49:13 +0000 (+0200) Subject: Fix Security Server no-smack stress tests. X-Git-Tag: security-manager_5.5_testing~262 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F02%2F19202%2F2;p=platform%2Fcore%2Ftest%2Fsecurity-tests.git Fix Security Server no-smack stress tests. [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 --- diff --git a/tests/security-server-tests/security_server_tests_stress.cpp b/tests/security-server-tests/security_server_tests_stress.cpp index 815dec0..a94463d 100644 --- a/tests/security-server-tests/security_server_tests_stress.cpp +++ b/tests/security-server-tests/security_server_tests_stress.cpp @@ -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");