diff --git a/src/test/java/com/ibm/watson/modelmesh/ModelMeshTearDownTest.java b/src/test/java/com/ibm/watson/modelmesh/ModelMeshTearDownTest.java index 4b2c7f01..d50aa72c 100644 --- a/src/test/java/com/ibm/watson/modelmesh/ModelMeshTearDownTest.java +++ b/src/test/java/com/ibm/watson/modelmesh/ModelMeshTearDownTest.java @@ -316,7 +316,6 @@ public static int getPID(Process process) throws Exception { public static int killProcess(Process process) throws Exception { String pid = Integer.toString(getPID(process)); - String command = "kill -9"; - return Runtime.getRuntime().exec(new String[] {command, pid}).waitFor(); + return Runtime.getRuntime().exec(new String[] {"kill", "-9", pid}).waitFor(); } }