Skip to content

Commit 8529cab

Browse files
committed
minor fix
1 parent 394b7c3 commit 8529cab

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

imagetool/src/test/java/com/oracle/weblogic/imagetool/integration/BaseTest.java

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,6 @@ protected static void initialize() throws Exception {
4747

4848
imagetoolZipfile = "imagetool-" + VERSION + "-SNAPSHOT.zip";
4949

50-
// imagetool = "java -cp " + getImagetoolHome() + FS + "lib" + FS + "imagetool.jar" + PS +
51-
// getImagetoolHome() + FS + "lib" + FS + "* -Djava.util.logging.config.file=" +
52-
// getImagetoolHome() + FS + "bin" + FS + "logging.properties com.oracle.weblogic.imagetool.cli.CLIDriver";
5350
imagetool = "java -cp \"" + getImagetoolHome() + FS + "lib" + FS + "*\" -Djava.util.logging.config.file=" +
5451
getImagetoolHome() + FS + "bin" + FS + "logging.properties com.oracle.weblogic.imagetool.cli.CLIDriver";
5552

@@ -60,20 +57,19 @@ protected static void initialize() throws Exception {
6057

6158
protected static void setup() throws Exception {
6259

63-
logger.info("Setting up the test ..." +
64-
"");
65-
// unzip the weblogic-image-tool/imagetool/target/imagetool-${VERSION}-SNAPSHOT.zip
60+
logger.info("Setting up the test ...");
6661
String command = "/bin/rm -rf " + getImagetoolHome();
6762
logger.info("Executing command: " + command);
6863
ExecCommand.exec(command);
6964

65+
// unzip the weblogic-image-tool/imagetool/target/imagetool-${VERSION}-SNAPSHOT.zip
7066
command = "/bin/unzip " + getTargetDir() + FS + imagetoolZipfile;
7167
logger.info("Executing command: " + command);
7268
ExecCommand.exec(command);
7369

7470
command = "source " + getImagetoolHome() + FS + "bin" + FS + "setup.sh";
7571
logger.info("Executing command: " + command );
76-
ExecResult result = ExecCommand.exec(command);
72+
ExecCommand.exec(command);
7773
}
7874

7975
protected static void cleanup() throws Exception {

imagetool/src/test/java/com/oracle/weblogic/imagetool/integration/ITImagetool.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ public static void staticPrepare() throws Exception {
4646
pullDockerImage();
4747

4848
// download the installers for the test
49-
downloadInstallers(JDK_INSTALLER, WLS_INSTALLER, WDT_INSTALLER, P27342434_INSTALLER, P28186730_INSTALLER);
49+
downloadInstallers(JDK_INSTALLER, WLS_INSTALLER, WDT_INSTALLER, P27342434_INSTALLER, P28186730_INSTALLER,
50+
FMW_INSTALLER);
5051
}
5152

5253
@AfterClass

0 commit comments

Comments
 (0)