Skip to content

Commit b8cee53

Browse files
committed
Update DiffRunnerTests.cs
1 parent 95e745d commit b8cee53

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/DiffEngine.Tests/DiffRunnerTests.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,15 +52,14 @@ public void LaunchAndKill()
5252
var tempFile = Path.Combine(SourceDirectory, "DiffRunner.file1.txt");
5353
var targetFile = Path.Combine(SourceDirectory, "DiffRunner.file2.txt");
5454
DiffRunner.Launch(tempFile, targetFile);
55-
Thread.Sleep(100);
5655
Assert.True(IsRunning());
5756
DiffRunner.Kill(tempFile, targetFile);
58-
Thread.Sleep(100);
5957
Assert.False(IsRunning());
6058
}
6159

6260
static bool IsRunning()
6361
{
62+
Thread.Sleep(500);
6463
return ProcessCleanup.FindAll().Any(x => x.Command.Contains("FakeDiffTool"));
6564
}
6665
#endif

0 commit comments

Comments
 (0)