Skip to content

Commit

Permalink
[HTTP/3] Increased timeout for a slower test (#103410)
Browse files Browse the repository at this point in the history
* Increased timeout for a slower test

* Removing logs
  • Loading branch information
ManickaP authored Jun 13, 2024
1 parent d9a6607 commit 1546c4f
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@ public async Task SendStreamLimitRequestsConcurrently_Succeeds(int streamLimit)
{
await using Http3LoopbackStream stream = await connection.AcceptRequestStreamAsync();
await stream.HandleRequestAsync();
_output.WriteLine($"[{DateTime.Now:HH:mm:ss.fffffff}] Server: Finished request {i}");
}
});

Expand All @@ -160,18 +159,16 @@ public async Task SendStreamLimitRequestsConcurrently_Succeeds(int streamLimit)
};
tasks[i] = client.SendAsync(request);
_output.WriteLine($"[{DateTime.Now:HH:mm:ss.fffffff}] Client: Started request {i}");
});
var responses = await Task.WhenAll(tasks);
_output.WriteLine($"[{DateTime.Now:HH:mm:ss.fffffff}] Client: Got all responses");
foreach (var response in responses)
{
response.Dispose();
}
});

await new[] { clientTask, serverTask }.WhenAllOrAnyFailed(20_000);
await new[] { clientTask, serverTask }.WhenAllOrAnyFailed(200_000);
}

[Theory]
Expand Down

0 comments on commit 1546c4f

Please sign in to comment.