Skip to content

Commit ceea346

Browse files
committed
update timeout
1 parent 1554275 commit ceea346

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tools/LambdaTestTool-v2/tests/Amazon.Lambda.TestTool.IntegrationTests/ApiGatewayEmulatorProcessTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -387,10 +387,10 @@ private async Task<HttpResponseMessage> TestEndpoint(string routeName, int apiGa
387387
testOutputHelper.WriteLine($"Testing endpoint: http://localhost:{apiGatewayPort}/{routeName}");
388388
using (var client = new HttpClient())
389389
{
390-
client.Timeout = TimeSpan.FromSeconds(2);
390+
client.Timeout = TimeSpan.FromSeconds(60);
391391

392392
var startTime = DateTime.UtcNow;
393-
var timeout = TimeSpan.FromSeconds(45);
393+
var timeout = TimeSpan.FromSeconds(90);
394394
Exception? lastException = null;
395395

396396
while (DateTime.UtcNow - startTime < timeout)

0 commit comments

Comments
 (0)