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 95e745d commit b8cee53Copy full SHA for b8cee53
1 file changed
src/DiffEngine.Tests/DiffRunnerTests.cs
@@ -52,15 +52,14 @@ public void LaunchAndKill()
52
var tempFile = Path.Combine(SourceDirectory, "DiffRunner.file1.txt");
53
var targetFile = Path.Combine(SourceDirectory, "DiffRunner.file2.txt");
54
DiffRunner.Launch(tempFile, targetFile);
55
- Thread.Sleep(100);
56
Assert.True(IsRunning());
57
DiffRunner.Kill(tempFile, targetFile);
58
59
Assert.False(IsRunning());
60
}
61
62
static bool IsRunning()
63
{
+ Thread.Sleep(500);
64
return ProcessCleanup.FindAll().Any(x => x.Command.Contains("FakeDiffTool"));
65
66
#endif
0 commit comments