From f97a18f8c033a4c4080e5a7aae5b28b3a41079b6 Mon Sep 17 00:00:00 2001 From: Sebastian Lackner Date: Wed, 7 Oct 2015 01:23:54 +0200 Subject: [PATCH] ntdll/tests: Limit number of pool threads to avoid random test failures. Signed-off-by: Sebastian Lackner --- 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 9197660cec1..a262ecbbe96 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;