Skip to content

Commit 34e9fe4

Browse files
committed
remove copyOverRide
1 parent 9981e68 commit 34e9fe4

File tree

2 files changed

+1
-19
lines changed

2 files changed

+1
-19
lines changed

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

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,6 @@ private static Domain createSitConfigDomain() throws Exception {
244244
if (System.getenv("JENKINS") != null && System.getenv("JENKINS").equalsIgnoreCase("true")) {
245245
domainMap.put("weblogicDomainStorageType", "NFS");
246246
}
247-
copyOverrideFiles();
248247
domain = TestUtils.createDomain(domainMap);
249248
domain.verifyDomainCreated();
250249
return domain;
@@ -256,23 +255,6 @@ private static void destroySitConfigDomain() throws Exception {
256255
}
257256
}
258257

259-
private static void copyOverrideFiles() throws IOException {
260-
String files[] = {
261-
"config.xml",
262-
"version.txt",
263-
"diagnostics-WLDF-MODULE-0.xml",
264-
"jdbc-JdbcTestDataSource-0.xml",
265-
"jms-ClusterJmsSystemResource.xml"
266-
};
267-
String overrideDstDir = TESTSCRIPTDIR + "/domain-home-on-pv/customsitconfig/";
268-
for (String file : files) {
269-
Files.copy(
270-
new File(TESTSCRIPTDIR + "/sitconfig/configoverrides/" + file).toPath(),
271-
new File(overrideDstDir + file).toPath(),
272-
StandardCopyOption.REPLACE_EXISTING);
273-
}
274-
}
275-
276258
private static String callShellScriptByExecToPod(
277259
String scriptPath, String arguments, String podName, String namespace) throws Exception {
278260

integration-tests/src/test/resources/sitconfig/java/SitConfigTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public static void main(String args[]) throws Exception {
8282
test.verifyConnectTimeout(12);
8383
test.verifyRestartMax(22);
8484
test.verifyT3ChannelPublicAddress(adminHost);
85-
test.verifyT3ChannelPublicPort(30051);
85+
test.verifyT3ChannelPublicPort(30091);
8686
}
8787
if (testName.equals("testCustomSitConfigOverridesForJdbc")) {
8888
test.testSystemResourcesJDBCAttributeChange("JdbcTestDataSource-0");

0 commit comments

Comments
 (0)