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

Sven Baars sven.wine at gmail.com
Fri Oct 25 17:06:20 CDT 2019


Signed-off-by: Sven Baars <sven.wine at gmail.com>
---
In an attempt to fix all of the mastask:task test failures.

 dlls/mstask/tests/task.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/mstask/tests/task.c b/dlls/mstask/tests/task.c
index 6195194d61..a9957117e9 100644
--- a/dlls/mstask/tests/task.c
+++ b/dlls/mstask/tests/task.c
@@ -626,7 +626,7 @@ static void test_Run(void)
      * This is how it's supposed to look like in the application
      * (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);
         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
          * (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);
             ok(hr == S_OK, "Activate error %#x\n", hr);
-- 
2.17.1




More information about the wine-devel mailing list