fix(companion): keep serving after an automation failure

This commit is contained in:
pj committed 2026-06-07 15:59:15 +05:30
1 parent fc215695a2
commit 1cc820637e
1 file changed
+3
+3
View File
@@ -4,6 +4,9 @@ import XCTest
// in a run loop so the simulator process stays alive serving the protocol.
final class RunnerTestCase: XCTestCase {
func testServeForever() throws {
// A failed automation call must never end the test: the server has to
// keep serving so the host can recover and retry.
continueAfterFailure = true
let server = try Server()
server.start()
RunLoop.current.run()