Skip to content

Commit c866fa0

Browse files
committed
[Tests][Concurrency] Remove clock canonicalization from test.
We've removed this code, so the test was failing.
1 parent d0b3d14 commit c866fa0

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

test/Concurrency/Runtime/sleep_executor.swift

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,6 @@ final class TestExecutor: TaskExecutor, SchedulingExecutor, @unchecked Sendable
3939
after delay: C.Duration,
4040
tolerance: C.Duration? = nil,
4141
clock: C) {
42-
// Convert the clock to its canonical equivalent, if any
43-
if let canonical = clock.canonicalClock {
44-
enqueue(_job,
45-
after: clock.convertToCanonical(duration: delay),
46-
tolerance: clock.maybeConvertToCanonical(duration: tolerance),
47-
clock: canonical)
48-
return
49-
}
50-
5142
// Convert to `Swift.Duration`
5243
let duration = delay as! Swift.Duration
5344

0 commit comments

Comments
 (0)