Skip to content

Commit e8fbcb3

Browse files
authored
add overwrite option when unzipping wdt files (#3172)
1 parent a0bad87 commit e8fbcb3

File tree

1 file changed

+1
-1
lines changed
  • integration-tests/src/test/java/oracle/weblogic/kubernetes/utils

1 file changed

+1
-1
lines changed

integration-tests/src/test/java/oracle/weblogic/kubernetes/utils/FileUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ public static void unzipWDTInstallationFile(String unzipLocation, String locatio
380380
installWdtParams(locationURL))
381381
.download(downloadDir), "WDT download failed");
382382
}
383-
String cmdToExecute = String.format("unzip %s -d %s", wlDeployZipFile, unzipLocation);
383+
String cmdToExecute = String.format("unzip -o %s -d %s", wlDeployZipFile, unzipLocation);
384384
assertTrue(new Command()
385385
.withParams(new CommandParams()
386386
.command(cmdToExecute))

0 commit comments

Comments
 (0)