Skip to content

Commit

Permalink
And stop spawning attempts when the process is cancelled
Browse files Browse the repository at this point in the history
  • Loading branch information
egonw committed Aug 23, 2011
1 parent da208ce commit db2b967
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -64,7 +64,7 @@ protected List<? extends ITestResult> doRunTest(ICDKMolecule cdkmol,
logger.debug("Invoking model: " + model + " for service: " + service);
Map<String, String> OTres = null;
//retry 3 times, looks like a server issue
for (int i=0; i<4; i++){
for (int i=0; i<4 && !monitor.isCanceled(); i++){
if (i>0)
logger.debug(" - Model: " + model + " retry number " + i);

Expand Down

0 comments on commit db2b967

Please sign in to comment.