From fd5f081cb6c26a0fb71e1f758728e4e7e6fe5bcf Mon Sep 17 00:00:00 2001 From: Praburaj Date: Fri, 22 Aug 2014 11:59:58 -0700 Subject: [PATCH] Increasing the wait timeout after the application deployment I'm starting to see that tests start running too soon before the application started. Increasing the wait time to a bigger number. It will increase the test runtime of each selfhost variation by a couple more seconds, but it will increase the reliability. --- test/E2ETests/DeploymentUtility.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/E2ETests/DeploymentUtility.cs b/test/E2ETests/DeploymentUtility.cs index 79124f9235..cf92def9ff 100644 --- a/test/E2ETests/DeploymentUtility.cs +++ b/test/E2ETests/DeploymentUtility.cs @@ -174,7 +174,7 @@ namespace E2ETests if (watchResult.ChangeType == WatcherChangeTypes.Created) { //This event is fired immediately after the localdb file is created. Give it a while to finish populating data and start the application. - Thread.Sleep(3 * 1000); + Thread.Sleep(5 * 1000); Console.WriteLine("Database file created '{0}'. Proceeding with the tests.", identityDBFullPath); } else