Skip to content

Commit a4c0d84

Browse files
committed
[Tests] Distributed: Remove workaround for lack of requirement accessors
1 parent 89e4fb2 commit a4c0d84

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

test/Distributed/Runtime/distributed_actor_remoteCall_protocol_method_in_presence_of_multiple_systems.swift

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import FakeDistributedActorSystems
1717

1818
@_DistributedProtocol
1919
protocol GreeterProtocol: DistributedActor where ActorSystem: DistributedActorSystem<any Codable> {
20-
distributed func greet() -> String
20+
distributed func greet() async throws -> String
2121
}
2222

2323
// ==== ------------------------------------------------------------------------
@@ -26,6 +26,7 @@ distributed actor DAFR: GreeterProtocol {
2626
typealias ActorSystem = FakeRoundtripActorSystem
2727
distributed func greet() -> String { "\(Self.self)" }
2828
}
29+
2930
distributed actor DAFL: GreeterProtocol {
3031
typealias ActorSystem = LocalTestingDistributedActorSystem
3132
distributed func greet() -> String { "\(Self.self)" }
@@ -47,9 +48,6 @@ distributed actor DAFL: GreeterProtocol {
4748
// - The call is made on the stub: $GreeterProtocol
4849
// - the record is name is 'HF' for the accessible function
4950

50-
// FIXME: remove this when we can properly roundtrip through new accessor
51-
fakeRoundtripSystem.forceNextRemoteCallReply("FAKE")
52-
5351
let got = try await gfr.greet()
5452
print("got: \(got)")
5553

0 commit comments

Comments
 (0)