Commits

Michael Heemskerk committed f96b79d

Adding default name for LatchedRunnable + fixed ExternalProcessImplTest

Comments (0)

Files changed (2)

src/main/java/com/atlassian/utils/process/LatchedRunnable.java

     protected String name;
 
     protected LatchedRunnable() {
+        this.name = "LatchedRunnable";
     }
 
     protected LatchedRunnable(final String name) {

src/test/java/com/atlassian/utils/process/ExternalProcessImplTest.java

     public void testBlockingInputHandlerAbortsWhenProcessFinishes2() {
         ExternalProcess process = buildProcessWithBlockingInputHandler();
 
-        process.execute();
-
         // the test succeeds if it does not time out.
         process.start();