Skip to content

Commit

Permalink
Reduce flackiness of the integration tests
Browse files Browse the repository at this point in the history
This number reduce count of times the test succeed when it should fail.
I assume this is because of WER doing it's job and process do not exit in time.
Related dotnet#5319
  • Loading branch information
kant2002 committed Jul 26, 2021
1 parent 9db7e3b commit 1a1c3c8
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ public void WinformsControlsTest_OpenFolderBrowserDialogTest()
TestHelpers.SendAltKeyToProcess(process, 'b', switchToMainWindow: false);
TestHelpers.SendAltKeyToProcess(process, 'o', switchToMainWindow: false);

System.Threading.Thread.Sleep(2_000);
Assert.False(process.HasExited);

process.Kill();
Expand Down

0 comments on commit 1a1c3c8

Please sign in to comment.