浏览代码

Reduce sleep duration in Wait.Until

Olivier Coanet 3 年之前
父节点
当前提交
2b2a56d315
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/Abc.Zebus.Testing/Wait.cs

+ 1 - 1
src/Abc.Zebus.Testing/Wait.cs

@@ -26,7 +26,7 @@ namespace Abc.Zebus.Testing
                 if (sw.Elapsed > timeout)
                 if (sw.Elapsed > timeout)
                     throw new TimeoutException(message?.Invoke() ?? "Timed out");
                     throw new TimeoutException(message?.Invoke() ?? "Timed out");
 
 
-                Thread.Sleep(50);
+                Thread.Sleep(10);
             }
             }
         }
         }
     }
     }