test(quic): SendSync returns for a send the peer answered at once
ShouldReturnFromSendSyncQUIC: 500 rounds of four fresh connections, each sending one message on its first stream to a server that echoes it with a FIN and drops the stream; every SendSync must return and every echo come back. The race it guards needs the sending thread descheduled for a round trip, so it is a stress test, not a deterministic one: against the previous SendSync it failed 6 runs of 7, with one or two of the 2000 sends throwing each time. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
b1b0633a27
commit
be55036b18
2 changed files with 110 additions and 0 deletions
|
|
@ -205,6 +205,7 @@ extern "C" Configuration CrafterBuildProject(std::span<const std::string_view> a
|
|||
cfg.AddTest("ShouldSendRecieveQUICStream").Dependencies({ &cfg });
|
||||
cfg.AddTest("ShouldReportClosedQUICStream").Dependencies({ &cfg });
|
||||
cfg.AddTest("ShouldReportListenerPortQUIC").Dependencies({ &cfg });
|
||||
cfg.AddTest("ShouldReturnFromSendSyncQUIC").Dependencies({ &cfg });
|
||||
cfg.AddTest("ShouldShareSelfSignedCertificateQUIC").Dependencies({ &cfg });
|
||||
cfg.AddTest("ShouldSurviveConnectionChurn").Dependencies({ &cfg });
|
||||
cfg.AddTest("ShouldTellPeerOfCloseQUIC").Dependencies({ &cfg });
|
||||
|
|
|
|||
Loading…
Reference in a new issue