Skip to content

Commit 2bf636e

Browse files
committed
fix
1 parent 64bcc89 commit 2bf636e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

integration-tests/src/test/java/oracle/kubernetes/operator/ITMultipleClusters.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,10 @@ public void testCreateDomainTwoClusterWDTInImage() throws Exception {
244244
}
245245
restoreDomainTemplate();
246246
if (Files.exists(Paths.get(wdttemplate + ".org"))) {
247-
Files.copy(Paths.get(wdttemplate + ".org"), Paths.get(wdttemplate));
247+
Files.copy(
248+
Paths.get(wdttemplate + ".org"),
249+
Paths.get(wdttemplate),
250+
StandardCopyOption.REPLACE_EXISTING);
248251
}
249252
}
250253
logger.log(Level.INFO, "SUCCESS - {0}", testMethodName);

0 commit comments

Comments
 (0)