mirror of
https://github.com/apple/swift-nio
synced 2026-11-24 04:37:54 +00:00
Motivation: testUpgradeWithUpgradePayloadInlineWithRequestWorks used the EmbeddedEventLoop to allocate some futures but setUpTestWithAutoremoval spawns a MultiThreadedEventLoopGroup. Hence, threading was broken in the test and this PR fixes it. Modifications: use a MultiThreadedEventLoopGroup instead of an EmbeddedEventLoop Result: tests pass in TSan again