Skip to content

Commit 2e16e1e

Browse files
committed
Revert test optimization; some pump tests that attempt ble comms are failing with the optimization
1 parent a12d1f9 commit 2e16e1e

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

Loop/AppDelegate.swift

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,8 @@ final class AppDelegate: UIResponder, UIApplicationDelegate, WindowProvider {
2222

2323
setenv("CFNETWORK_DIAGNOSTICS", "3", 1)
2424

25-
if ProcessInfo.processInfo.environment["XCTestConfigurationFilePath"] == nil {
26-
// Code only executes when not running tests
27-
loopAppManager.initialize(windowProvider: self, launchOptions: launchOptions)
28-
loopAppManager.launch()
29-
}
25+
loopAppManager.initialize(windowProvider: self, launchOptions: launchOptions)
26+
loopAppManager.launch()
3027
return loopAppManager.isLaunchComplete
3128
}
3229

@@ -35,10 +32,7 @@ final class AppDelegate: UIResponder, UIApplicationDelegate, WindowProvider {
3532
func applicationDidBecomeActive(_ application: UIApplication) {
3633
log.default(#function)
3734

38-
if ProcessInfo.processInfo.environment["XCTestConfigurationFilePath"] == nil {
39-
// Code only executes when not running tests
40-
loopAppManager.didBecomeActive()
41-
}
35+
loopAppManager.didBecomeActive()
4236
}
4337

4438
func applicationWillResignActive(_ application: UIApplication) {

0 commit comments

Comments
 (0)