Skip to content

Commit 363b106

Browse files
authored
Start StopWatch to prevent CI timeouts (#1839)
1 parent d61cff8 commit 363b106

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/Common/TestHelpers.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,8 @@ public static async Task WaitUntilTrue(Func<bool> predicate, string conditionDes
333333
retryInterval = TimeSpan.FromMilliseconds(100);
334334
}
335335

336-
Stopwatch sw = new Stopwatch();
336+
Stopwatch sw = Stopwatch.StartNew();
337+
337338
do
338339
{
339340
if (predicate())

0 commit comments

Comments
 (0)