mirror of
https://github.com/apple/swift-nio
synced 2026-11-24 04:37:54 +00:00
…oopTest` ### Motivation * `Task.sleep(for:)` and the `Duration` literals (`.milliseconds`, `.seconds`) require iOS 16.0+, tvOS 16.0+, and watchOS 9.0+, so these calls cause build failures on simulator test destinations in CI. ### Modifications * Replaced all five `Task.sleep(for:)` calls in `EventLoopTest.swift` with the universally available `Task.sleep(nanoseconds:)`. ### Result * `EventLoopTest` compiles for iOS, tvOS, and watchOS simulator destinations. Verified locally with `xcodebuild build-for-testing`.