mstask/tests: Wait a bit longer for tasks to start and terminate.

Signed-off-by: Sven Baars <sven.wine@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Sven Baars 2019-10-26 00:06:20 +02:00 committed by Alexandre Julliard
parent 380d31b17a
commit d681deb3e5
1 changed files with 2 additions and 2 deletions

View File

@ -626,7 +626,7 @@ static void test_Run(void)
* This is how it's supposed to look like in the application * This is how it's supposed to look like in the application
* (the loop should be infinite): * (the loop should be infinite):
*/ */
for (i = 0; i < 3; i++) for (i = 0; i < 5; i++)
{ {
hr = ITaskScheduler_Activate(scheduler, wine_test_runW, &IID_ITask, (IUnknown **)&task); hr = ITaskScheduler_Activate(scheduler, wine_test_runW, &IID_ITask, (IUnknown **)&task);
ok(hr == S_OK, "Activate error %#x\n", hr); ok(hr == S_OK, "Activate error %#x\n", hr);
@ -661,7 +661,7 @@ static void test_Run(void)
* This is how it's supposed to look like in the application * This is how it's supposed to look like in the application
* (the loop should be infinite): * (the loop should be infinite):
*/ */
for (i = 0; i < 3; i++) for (i = 0; i < 5; i++)
{ {
hr = ITaskScheduler_Activate(scheduler, wine_test_runW, &IID_ITask, (IUnknown **)&task); hr = ITaskScheduler_Activate(scheduler, wine_test_runW, &IID_ITask, (IUnknown **)&task);
ok(hr == S_OK, "Activate error %#x\n", hr); ok(hr == S_OK, "Activate error %#x\n", hr);