Kitura / Kitura-NIO

A networking library for Kitura, based on SwiftNIO
Apache License 2.0
38 stars 24 forks source link

flaky test KituraNetTests.ChannelQuiescingTests testChannelQuiescing #237

Open weissi opened 4 years ago

weissi commented 4 years ago

invocation: swift test --sanitize=thread --disable-index-store on macOS, Swift 5.1.5

Test Case '-[KituraNetTests.ChannelQuiescingTests testChannelQuiescing]' started.
/private/tmp/.nio-release-tools_wiQuHX/Kitura-NIO/Tests/KituraNetTests/ChannelQuiescingTests.swift:49: error: -[KituraNetTests.ChannelQuiescingTests testChannelQuiescing] : Asynchronous wait failed: Exceeded timeout of 10 seconds, with unfulfilled expectations: "Server closes connections".
Test Case '-[KituraNetTests.ChannelQuiescingTests testChannelQuiescing]' failed (11.062 seconds).

Kutura-NIO: 4d8462d2254713e00e8678d9bc63e14c536b707a swift-nio: a27a07719ca785bcaca019a5b9fe1814b981b4a2 swift-nio-extras: 4a71e8ad6eb44a5074551c83de16b17d47de6202 swift-nio-http2: 6970de5512cb3b3d094986f0f80e87fe6a1110a0 swift-nio-ssl: 7add274f6ecac28be9c8ed2a678371f0868836ad swift-nio-transport-services: fc80bf018b778da32663e1acbf24416d0ff5e63c

mbarnach commented 4 years ago

Hi Johannes, I can't reproduce your issue on my Mac (10.15.3 with Swift 5.1.3) but it looks like it could be a valid reason for the Kitura issue #1501. Do you always have that behaviour? I've tried with the version of NIO in KITURA-NIO and also with the latest release from Apple.