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.
This commit is contained in:
Praburaj 2014-08-21 12:48:03 -07:00
parent df3d56be5e
commit 5878f8ccb8
1 changed files with 1 additions and 1 deletions

View File

@ -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