Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[HTTP/3] Increased timeout for a slower test #103410

Merged
merged 2 commits into from
Jun 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading