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

Alexandre Julliard julliard at winehq.org
Sun Oct 27 15:06:17 CDT 2019


Module: wine
Branch: master
Commit: d681deb3e5cff310ed3966f670ca2119e581975c
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=d681deb3e5cff310ed3966f670ca2119e581975c

Author: Sven Baars <sven.wine at gmail.com>
Date:   Sat Oct 26 00:06:20 2019 +0200

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

Signed-off-by: Sven Baars <sven.wine at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

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




More information about the wine-cvs mailing list