Increased thread test run time to fix failing mac tests

This commit is contained in:
akallabeth
2021-05-25 08:23:24 +02:00
committed by akallabeth
parent ddfdbb1300
commit 997ea7e09d

View File

@@ -9,7 +9,7 @@
static DWORD WINAPI test_thread(LPVOID arg)
{
long timeout = 100 + (rand() % 1000);
long timeout = 300 + (rand() % 1000);
WINPR_UNUSED(arg);
Sleep(timeout);
ExitThread(0);
@@ -177,7 +177,7 @@ static BOOL TestWaitOneTimeoutMultijoin(void)
ret = WaitForMultipleObjects(THREADS, threads, FALSE, 0);
if (ret != WAIT_TIMEOUT)
{
fprintf(stderr, "%s: WaitForMultipleObjects timeout 50 failed, ret=%d\n", __FUNCTION__,
fprintf(stderr, "%s: WaitForMultipleObjects timeout 0 failed, ret=%d\n", __FUNCTION__,
ret);
goto fail;
}