Skip to content

test(s2n-quic-dc): use bach for request/response tests#2564

Merged
camshaft merged 1 commit intomainfrom
camshaft/bach-0.0.12
Mar 25, 2025
Merged

test(s2n-quic-dc): use bach for request/response tests#2564
camshaft merged 1 commit intomainfrom
camshaft/bach-0.0.12

Conversation

@camshaft
Copy link
Contributor

@camshaft camshaft commented Mar 25, 2025

Description of changes:

This change pulls in the latest bach version (0.0.12) to enable the stream tests to use simulated testing in addition to the tokio ones.

Call-outs:

I had to update the s2n-quic-platform integration a bit to match the new bach API. There were also some changes I made in bach around task scheduling in order to be able to catch task leaks (tasks without a cloned waker somewhere) that had some effects on our stat snapshots. The functionality is the same though.

Testing:

I ran the new udp_sim::fuzz_test overnight and didn't run into any issues with panics, hangs, or leaks.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@camshaft camshaft marked this pull request as ready for review March 25, 2025 17:16
@camshaft camshaft merged commit 60c7294 into main Mar 25, 2025
128 checks passed
@camshaft camshaft deleted the camshaft/bach-0.0.12 branch March 25, 2025 17:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants