Skip to content

Commit 4c4d8c5

Browse files
committed
wip
1 parent 88caf04 commit 4c4d8c5

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

test/Distributed/Runtime/distributed_actor_hop_to.swift

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
// FIXME(distributed): Distributed actors currently have some issues on windows, isRemote always returns false. rdar://82593574
1515
// UNSUPPORTED: OS=windows-msvc
1616

17-
1817
import Distributed
1918
import FakeDistributedActorSystems
2019

@@ -44,28 +43,14 @@ distributed actor Worker: LifecycleWatch {
4443
let actorSystem = DefaultDistributedActorSystem()
4544

4645
let worker: any LifecycleWatch = Worker(actorSystem: actorSystem)
47-
try! await worker.test(x: 42, "on protocol")
48-
49-
// CHECK: executed: test(x:_:)
50-
// CHECK: executed: watch(x:_:) - x = 42, y = on protocol
51-
// CHECK: done executed: test(x:_:)
52-
5346
// ==== --------------------------------------------------------------------
5447

5548
let remote = try! Worker.resolve(id: worker.id, using: actorSystem)
56-
try! await remote.test(x: 42, "direct") // Remote call
57-
// CHECK: >> remoteCallVoid: on:main.Worker, target:test(x:_:)
58-
// CHECK: << onReturnVoid: ()
59-
6049
let remoteAny: any LifecycleWatch = remote
6150
try! await remoteAny.test(x: 42, "direct") // Remote call
6251
// CHECK: >> remoteCallVoid: on:main.Worker, target:test(x:_:)
6352
// CHECK: << onReturnVoid: ()
6453

65-
let remoteAnyOptional: (any LifecycleWatch)? = remote
66-
try! await remoteAnyOptional?.test(x: 42, "direct") // Remote call
67-
// CHECK: >> remoteCallVoid: on:main.Worker, target:test(x:_:)
68-
// CHECK: << onReturnVoid: ()
6954

7055
print("OK") // CHECK: OK
7156
}

0 commit comments

Comments
 (0)