We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2ca8e1 commit 6c09b7bCopy full SHA for 6c09b7b
src/installer/tests/TestUtils/Command.cs
@@ -206,11 +206,9 @@ public Command Start()
206
Process.Start();
207
break;
208
}
209
- catch (Win32Exception e) when (i < 3 && e.Message.Contains("Text file busy"))
+ catch (Win32Exception e) when (i < 4 && e.Message.Contains("Text file busy"))
210
{
211
- // 10 ms is short, but the race we're trying to avoid is in-between
212
- // "fork" and "exec", so it should be fast
213
- Thread.Sleep(10);
+ Thread.Sleep(i * 20);
214
215
216
0 commit comments