Skip to content

Commit 2e514cb

Browse files
committed
fix
1 parent 6f6637b commit 2e514cb

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,9 @@ public void testAdminServerInitContainer() throws Exception {
123123
// Modify the original domain yaml to include restartVersion in admin server node
124124
DomainCrd crd = new DomainCrd(originalYaml);
125125
crd.addInitContNode("spec", null, null);
126+
crd.addInitContNode("adminServer", null, null);
127+
crd.addInitContNode("clusters", "cluster-1", null);
128+
crd.addInitContNode("managedServers", "cluster-1", "managed-server1");
126129
String modYaml = crd.getYamlTree();
127130
logger.info(modYaml);
128131

integration-tests/src/test/java/oracle/kubernetes/operator/utils/DomainCrd.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ public class DomainCrd {
3131
public static void main(String args[]) {
3232
try {
3333
DomainCrd test = new DomainCrd("/c/Users/sankar/Downloads/domain.yaml");
34-
test.createInitContNode("spec", null, null);
3534
} catch (IOException ex) {
3635
Logger.getLogger(DomainCrd.class.getName()).log(Level.SEVERE, null, ex);
3736
}

0 commit comments

Comments
 (0)