Permalink
Browse files

double retry count to wait a little bit longer.

  • Loading branch information...
1 parent 9a08f79 commit b744e44812519e46c07f89eb109821d7d2059d50 Albert Cheng committed Jan 5, 2013
@@ -299,7 +299,7 @@ public void canGetErrorDetailsFromTask() throws Exception {
JobInfo currentJobInfo = actualJob;
int retryCounter = 0;
- while (currentJobInfo.getState().getCode() < 3 && retryCounter < 10) {
+ while (currentJobInfo.getState().getCode() < 3 && retryCounter < 20) {
Thread.sleep(10000);
currentJobInfo = service.get(Job.get(actualJob.getId()));
retryCounter++;

0 comments on commit b744e44

Please sign in to comment.