swift-nio-transport-services/Tests/NIOTransportServicesTests
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
..
NIOFilterEmptyWritesHandlerTests.swift State Managed Listeners (#175) 2023-07-09 07:41:03 -04:00
NIOTSAsyncBootstrapTests.swift Make tests less flaky (#194) 2023-12-01 12:57:55 +00:00
NIOTSBootstrapTests.swift Allow retrieval of metadata from `NWConnection` (#163) 2022-10-19 15:59:33 +01:00
NIOTSChannelMetadataTests.swift Allow retrieval of metadata from `NWConnection` (#163) 2022-10-19 15:59:33 +01:00
NIOTSChannelOptionsTests.swift State Managed Listeners (#175) 2023-07-09 07:41:03 -04:00
NIOTSConnectionChannelTests.swift Fire the pipelines error caught method when NWConnection's state changes to failed (#187) 2023-10-25 09:22:53 +01:00
NIOTSDatagramConnectionChannelTests.swift Avoid race in datagram tests (#185) 2023-09-04 11:28:27 +01:00
NIOTSEndToEndTests.swift Use #fileID/#filePath instead of #file (#164) 2022-10-31 11:59:12 +00:00
NIOTSEventLoopTests.swift Fix availability guards and compiler warnings (#193) 2023-11-24 14:49:34 +00:00
NIOTSListenerChannelTests.swift Clean up imports and dependencies. (#130) 2021-09-14 10:06:42 +01:00
NIOTSSingletonTests.swift Fix availability guards and compiler warnings (#193) 2023-11-24 14:49:34 +00:00
NIOTSSocketOptionTests.swift Clean up imports and dependencies. (#130) 2021-09-14 10:06:42 +01:00
NIOTSSocketOptionsOnChannelTests.swift Clean up imports and dependencies. (#130) 2021-09-14 10:06:42 +01:00
NIOTSWorkaroundTests.swift Use Docc for documentation (#154) 2022-07-29 15:02:01 +01:00