[2/3] ntdll/tests: Limit number of pool threads to avoid random test failures.

Sebastian Lackner sebastian at fds-team.de
Tue Oct 6 18:23:54 CDT 2015


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;
-- 
2.6.0



More information about the wine-patches mailing list