diff --git a/azkaban-common/src/test/java/azkaban/executor/InteractiveTestJob.java b/azkaban-common/src/test/java/azkaban/executor/InteractiveTestJob.java
index <HASH>..<HASH> 100644
--- a/azkaban-common/src/test/java/azkaban/executor/InteractiveTestJob.java
+++ b/azkaban-common/src/test/java/azkaban/executor/InteractiveTestJob.java
@@ -40,7 +40,7 @@ public class InteractiveTestJob extends AbstractProcessJob {
   }
 
   public static InteractiveTestJob getTestJob(final String name) {
-    for (int i = 0; i < 100; i++) {
+    for (int i = 0; i < 1000; i++) {
       if (testJobs.containsKey(name)) {
         return testJobs.get(name);
       }
@@ -48,6 +48,7 @@ public class InteractiveTestJob extends AbstractProcessJob {
         try {
           InteractiveTestJob.testJobs.wait(10L);
         } catch (final InterruptedException e) {
+          i--;
         }
       }
     }
Improve InteractiveTestJob stability (#<I>)

Wait for the job to appear for <I> seconds instead of 1 second. This should help avoid test failures when they're running slower than usual for some reason.



If wait is interrupted, have another round (i--) of trying, so that the method always waits _at least_ <I> seconds before it gives up.