File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed
Sources/DistributedActorsTestKit/Cluster Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -96,18 +96,18 @@ open class ClusteredActorSystemsXCTestCase: XCTestCase {
9696 self . actorStatsBefore = try InspectKit . actorStats ( )
9797 }
9898
99- // self.stuckTestDumpLogsTask = Task.detached {
100- // try await Task.sleep(until: .now + self.dumpLogsAfter, clock: .continuous)
101- // guard !Task.isCancelled else {
102- // return
103- // }
104- //
105- // print("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!")
106- // print("!!!!!!!!!! TEST SEEMS STUCK - DUMPING LOGS !!!!!!!!!!")
107- // print("!!!!!!!!!! PID: \(ProcessInfo.processInfo.processIdentifier) !!!!!!!!!!")
108- // print("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!")
109- // self.printAllCapturedLogs()
110- // }
99+ self . stuckTestDumpLogsTask = Task . detached {
100+ try await Task . sleep ( until: . now + self . dumpLogsAfter, clock: . continuous)
101+ guard !Task. isCancelled else {
102+ return
103+ }
104+
105+ print ( " !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! " )
106+ print ( " !!!!!!!!!! TEST SEEMS STUCK - DUMPING LOGS !!!!!!!!!! " )
107+ print ( " !!!!!!!!!! PID: \( ProcessInfo . processInfo. processIdentifier) !!!!!!!!!! " )
108+ print ( " !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! " )
109+ self . printAllCapturedLogs ( )
110+ }
111111 try await super. setUp ( )
112112 }
113113
You can’t perform that action at this time.
0 commit comments