swift-nio-transport-services/Tests
Franz Busch cb29107d4d
Make tests less flaky (#194)
# Motivation
After the recent changes in NIO where we introduced the `executeThenClose` method on the `NIOAsyncChannel` our tests here became flaky since we were waiting for something to happen but potentially closed the client channels before we wrote out the data.

# Modification
This PR makes sure we are awaiting for the event in the `executeThenClose` scope; hence, making sure we are not closing the client channels too early.

# Result
Less flakey tests.
2023-12-01 12:57:55 +00:00
..
NIOTransportServicesTests Make tests less flaky (#194) 2023-12-01 12:57:55 +00:00