mirror of
https://github.com/priyanshujain/sanderling.git
synced 2026-10-02 11:07:10 +00:00
fix(companion): keep serving after an automation failure
This commit is contained in:
1 parent
fc215695a2
commit
1cc820637e
1 file changed
+3
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user