Increasing the HttpClient timeout to 5 seconds to fix test failures on Travis CI

This commit is contained in:
Kiran Challa 2015-12-10 14:35:02 -08:00
parent 562f65c9c8
commit e6bf744d49
1 changed files with 2 additions and 1 deletions

View File

@ -145,7 +145,8 @@ namespace E2ETests
var httpClientHandler = new HttpClientHandler();
var httpClient = new HttpClient(httpClientHandler)
{
BaseAddress = new Uri(deploymentResult.ApplicationBaseUri)
BaseAddress = new Uri(deploymentResult.ApplicationBaseUri),
Timeout = TimeSpan.FromSeconds(5)
};
// Request to base address and check if various parts of the body are rendered