1. David Black
  2. atlassian-processutils

Commits

Michael Heemskerk [on leave]  committed f96b79d

Adding default name for LatchedRunnable + fixed ExternalProcessImplTest

  • Participants
  • Parent commits 32b3296
  • Branches default

Comments (0)

Files changed (2)

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

View file
  • Ignore whitespace
     protected String name;
 
     protected LatchedRunnable() {
+        this.name = "LatchedRunnable";
     }
 
     protected LatchedRunnable(final String name) {

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

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