Files
swift-nio/Tests
Rick Newton-Rogers daec044c3f Replace Task.sleep(for:) with Task.sleep(nanoseconds:) in `EventL… (#3548)
…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`.
2026-03-12 09:50:18 +00:00
..
2024-07-19 11:48:17 +02:00
2025-10-06 10:58:33 +01:00
2025-05-07 12:24:44 +00:00