File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Bluepill-cli/Bluepill-cli/Bluepill Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -197,7 +197,11 @@ - (void)setupExecutionWithContext:(BPExecutionContext *)context {
197
197
198
198
context.runner = [self createSimulatorRunnerWithContext: context];
199
199
200
+ // Set up retry counts.
200
201
self.maxCreateTries = [self .config.maxCreateTries integerValue ];
202
+ self.maxInstallTries = [self .config.maxInstallTries integerValue ];
203
+ self.maxLaunchTries = [self .config.maxLaunchTries integerValue ];
204
+
201
205
NEXT ([self createSimulatorWithContext: context]);
202
206
}
203
207
@@ -249,7 +253,6 @@ - (void)createSimulatorWithContext:(BPExecutionContext *)context {
249
253
[BPUtils printInfo: ERROR withString: [@" Timeout: " stringByAppendingString: stepName]];
250
254
};
251
255
252
- self.maxInstallTries = [self .config.maxInstallTries integerValue ];
253
256
[context.runner createSimulatorWithDeviceName: deviceName completion: handler.defaultHandlerBlock];
254
257
}
255
258
@@ -258,8 +261,6 @@ - (void)installApplicationWithContext:(BPExecutionContext *)context {
258
261
[[BPStats sharedStats ] startTimer: stepName];
259
262
[BPUtils printInfo: INFO withString: stepName];
260
263
261
- self.maxLaunchTries = [self .config.maxLaunchTries integerValue ];
262
-
263
264
NSError *error = nil ;
264
265
BOOL success = [context.runner installApplicationAndReturnError: &error];
265
266
You can’t perform that action at this time.
0 commit comments