Browse Source

Update ShellCommandExecutorTest.java

update unit test
pull/3/MERGE
小清 3 years ago committed by GitHub
parent
commit
f79fb7d776
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      dolphinscheduler-server/src/test/java/org/apache/dolphinscheduler/server/worker/shell/ShellCommandExecutorTest.java

5
dolphinscheduler-server/src/test/java/org/apache/dolphinscheduler/server/worker/shell/ShellCommandExecutorTest.java

@ -16,6 +16,9 @@
*/
package org.apache.dolphinscheduler.server.worker.shell;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.lang.reflect.Method;
@ -163,7 +166,7 @@ public class ShellCommandExecutorTest {
public void destroy() {
logger.info("unit test");
}
}};
} };
ShellCommandExecutor result = (ShellCommandExecutor) method.invoke(instance, arg1s);
} catch (Exception e) {
logger.error(e.getMessage());

Loading…
Cancel
Save