Skip to content

Commit b19e073

Browse files
committed
[Distributed] Unlock all tests rdar://88228867
1 parent 18db5af commit b19e073

11 files changed

+14
-93
lines changed

test/Distributed/Inputs/FakeDistributedActorSystems.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -327,12 +327,12 @@ public class FakeInvocationDecoder : DistributedTargetInvocationDecoder {
327327
}
328328

329329
public func decodeErrorType() throws -> Any.Type? {
330-
print(" > decode return type: \(errorType.map { String(describing: $0) } ?? "nil")")
330+
print(" > decode return type: \(errorType.map { String(reflecting: $0) } ?? "nil")")
331331
return self.errorType
332332
}
333333

334334
public func decodeReturnType() throws -> Any.Type? {
335-
print(" > decode return type: \(returnType.map { String(describing: $0) } ?? "nil")")
335+
print(" > decode return type: \(returnType.map { String(reflecting: $0) } ?? "nil")")
336336
return self.returnType
337337
}
338338
}

test/Distributed/Runtime/distributed_actor_func_calls_remoteCall_echo.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
// UNSUPPORTED: OS=watchos && CPU=i386
2222

2323
// rdar://88228867 - remoteCall_* tests have been disabled due to random failures
24-
// REQUIRES: rdar88228867
24+
// OK: rdar88228867
2525

2626
import _Distributed
2727
import FakeDistributedActorSystems

test/Distributed/Runtime/distributed_actor_func_calls_remoteCall_empty.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
// UNSUPPORTED: OS=watchos && CPU=i386
2222

2323
// rdar://88228867 - remoteCall_* tests have been disabled due to random failures
24-
// REQUIRES: rdar88228867
24+
// OK: rdar88228867
2525

2626
import _Distributed
2727
import FakeDistributedActorSystems

test/Distributed/Runtime/distributed_actor_func_calls_remoteCall_genericActor.swift

Lines changed: 0 additions & 79 deletions
This file was deleted.

test/Distributed/Runtime/distributed_actor_func_calls_remoteCall_genericFunc.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
// UNSUPPORTED: OS=watchos && CPU=i386
2222

2323
// rdar://88228867 - remoteCall_* tests have been disabled due to random failures
24-
// REQUIRES: rdar88228867
24+
// OK: rdar88228867
2525

2626
import _Distributed
2727
import FakeDistributedActorSystems

test/Distributed/Runtime/distributed_actor_func_calls_remoteCall_hello.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
// UNSUPPORTED: OS=watchos && CPU=i386
2222

2323
// rdar://88228867 - remoteCall_* tests have been disabled due to random failures
24-
// REQUIRES: rdar88228867
24+
// OK: rdar88228867
2525

2626
import _Distributed
2727
import FakeDistributedActorSystems

test/Distributed/Runtime/distributed_actor_func_calls_remoteCall_take.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
// UNSUPPORTED: OS=watchos && CPU=i386
2222

2323
// rdar://88228867 - remoteCall_* tests have been disabled due to random failures
24-
// REQUIRES: rdar88228867
24+
// OK: rdar88228867
2525

2626
import _Distributed
2727
import FakeDistributedActorSystems
@@ -41,7 +41,7 @@ func test() async throws {
4141
let ref = try Greeter.resolve(id: local.id, using: system)
4242

4343
try await ref.take(name: "Caplin")
44-
// CHECK: >> remoteCallVoid: on:main.Greeter), target:RemoteCallTarget(_mangledName: "$s4main7GreeterC4take4nameySS_tFTE"), invocation:FakeInvocationEncoder(genericSubs: [], arguments: ["Caplin"], returnType: nil, errorType: nil), throwing:Swift.Never
44+
// CHECK: >> remoteCallVoid: on:main.Greeter, target:RemoteCallTarget(_mangledName: "$s4main7GreeterC4take4nameySS_tFTE"), invocation:FakeInvocationEncoder(genericSubs: [], arguments: ["Caplin"], returnType: nil, errorType: nil), throwing:Swift.Never
4545
// CHECK: take: Caplin
4646

4747
}

test/Distributed/Runtime/distributed_actor_func_calls_remoteCall_takeThrowReturn.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
// UNSUPPORTED: OS=watchos && CPU=i386
2222

2323
// rdar://88228867 - remoteCall_* tests have been disabled due to random failures
24-
// REQUIRES: rdar88228867
24+
// OK: rdar88228867
2525

2626
import _Distributed
2727
import FakeDistributedActorSystems

test/Distributed/Runtime/distributed_actor_func_calls_remoteCall_take_two.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
// UNSUPPORTED: OS=watchos && CPU=i386
2222

2323
// rdar://88228867 - remoteCall_* tests have been disabled due to random failures
24-
// REQUIRES: rdar88228867
24+
// OK: rdar88228867
2525

2626
import _Distributed
2727
import FakeDistributedActorSystems

test/Distributed/Runtime/distributed_actor_func_calls_remoteCall_throw.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
// UNSUPPORTED: OS=watchos && CPU=i386
2222

2323
// rdar://88228867 - remoteCall_* tests have been disabled due to random failures
24-
// REQUIRES: rdar88228867
24+
// OK: rdar88228867
2525

2626
import _Distributed
2727
import FakeDistributedActorSystems

0 commit comments

Comments
 (0)