From f2ed04af3298afd1eb4f1c2777b36229d192472a Mon Sep 17 00:00:00 2001 From: Damian Cudzik Date: Tue, 12 Sep 2023 16:33:22 +0200 Subject: [PATCH] Remove comments --- .../patrol/ios/Classes/AutomatorServer/PatrolServer.swift | 4 ---- packages/patrol/ios/Classes/PatrolIntegrationTestRunner.h | 3 +-- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/packages/patrol/ios/Classes/AutomatorServer/PatrolServer.swift b/packages/patrol/ios/Classes/AutomatorServer/PatrolServer.swift index 30e6f515e..03f60fd01 100644 --- a/packages/patrol/ios/Classes/AutomatorServer/PatrolServer.swift +++ b/packages/patrol/ios/Classes/AutomatorServer/PatrolServer.swift @@ -10,7 +10,6 @@ import FlyingFox private let port: Int private let automator: Automator private let server: HTTPServer -// private let dispatchGroup = DispatchGroup() #endif @objc @@ -61,9 +60,6 @@ import FlyingFox let address = await server.listeningAddress Logger.shared.i("Server started on :\(address)") - -// dispatchGroup.enter() -// dispatchGroup.wait() #endif } } diff --git a/packages/patrol/ios/Classes/PatrolIntegrationTestRunner.h b/packages/patrol/ios/Classes/PatrolIntegrationTestRunner.h index e5cb72e1b..07993aabb 100644 --- a/packages/patrol/ios/Classes/PatrolIntegrationTestRunner.h +++ b/packages/patrol/ios/Classes/PatrolIntegrationTestRunner.h @@ -64,8 +64,7 @@ \ /* Spin the runloop waiting until the app reports the Dart tests it contains */ \ while (!dartTestFiles) { \ - [NSRunLoop.currentRunLoop runUntilDate:[NSDate dateWithTimeIntervalSinceNow:5.0]]; \ - /* @throw [NSException exceptionWithName:@"TODO exception1234" reason:@"Test" userInfo:nil]; */ \ + [NSRunLoop.currentRunLoop runUntilDate:[NSDate dateWithTimeIntervalSinceNow:1.0]]; \ } \ \ NSLog(@"Got %lu Dart tests: %@", dartTestFiles.count, dartTestFiles); \