From 5878f8ccb84ab4c01a4c05aa1e3ae729dbf027af Mon Sep 17 00:00:00 2001 From: Praburaj Date: Thu, 21 Aug 2014 12:48:03 -0700 Subject: [PATCH] Increasing the wait time out to 3 seconds after the db file is created. A couple of selfhost variations are failing on some of the new CI machines. While trying to reproduce I see that the klr.exe processes are lauching fine. But the tests fail for a couple of self-host variations. Only suspicion is this time out as the client gets a socket exception. It is possible that client is making a request before the server is ready. --- 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 0c7d5061f2..79124f9235 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(2 * 1000); + Thread.Sleep(3 * 1000); Console.WriteLine("Database file created '{0}'. Proceeding with the tests.", identityDBFullPath); } else