Sebastian Lackner : ntdll/tests: Limit number of pool threads to avoid random test failures.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Oct 7 10:00:48 CDT 2015


Module: wine
Branch: master
Commit: f97a18f8c033a4c4080e5a7aae5b28b3a41079b6
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=f97a18f8c033a4c4080e5a7aae5b28b3a41079b6

Author: Sebastian Lackner <sebastian at fds-team.de>
Date:   Wed Oct  7 01:23:54 2015 +0200

ntdll/tests: Limit number of pool threads to avoid random test failures.

Signed-off-by: Sebastian Lackner <sebastian at fds-team.de>

---

 dlls/ntdll/tests/threadpool.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/ntdll/tests/threadpool.c b/dlls/ntdll/tests/threadpool.c
index 9197660..a262ecb 100644
--- a/dlls/ntdll/tests/threadpool.c
+++ b/dlls/ntdll/tests/threadpool.c
@@ -228,6 +228,7 @@ static void test_tp_simple(void)
 
     /* test cancellation of pending simple callbacks */
     userdata = 0;
+    pTpSetPoolMaxThreads(pool, 10);
     memset(&environment, 0, sizeof(environment));
     environment.Version = 1;
     environment.Pool = pool;




More information about the wine-cvs mailing list