1
- // Copyright 2018 , Oracle Corporation and/or its affiliates. All rights reserved.
1
+ // Copyright 2019 , Oracle Corporation and/or its affiliates. All rights reserved.
2
2
// Licensed under the Universal Permissive License v 1.0 as shown at
3
3
// http://oss.oracle.com/licenses/upl.
4
4
@@ -71,8 +71,9 @@ public static void staticUnPrepare() throws Exception {
71
71
}
72
72
73
73
/**
74
- * The property tested is: env: "-Dweblogic.StdoutDebugEnabled=false"-->
75
- * "-Dweblogic.StdoutDebugEnabled=true"
74
+ * Modify the domain scope env property on the domain resource using kubectl apply -f domain.yaml
75
+ * Verify that all the server pods in the domain got re-started The property tested is: env:
76
+ * "-Dweblogic.StdoutDebugEnabled=false"--> "-Dweblogic.StdoutDebugEnabled=true"
76
77
*
77
78
* @throws Exception
78
79
*/
@@ -94,7 +95,9 @@ public void testServerPodsRestartByChangingEnvProperty() throws Exception {
94
95
}
95
96
96
97
/**
97
- * The property tested is: logHomeEnabled: true --> logHomeEnabled: false
98
+ * Modify the domain scope property on the domain resource using kubectl apply -f domain.yaml
99
+ * Verify that all the server pods in the domain got re-started The property tested is:
100
+ * logHomeEnabled: true --> logHomeEnabled: false
98
101
*
99
102
* @throws Exception
100
103
*/
@@ -116,7 +119,9 @@ public void testServerPodsRestartByChangingLogHomeEnabled() throws Exception {
116
119
}
117
120
118
121
/**
119
- * The property tested is: imagePullPolicy: IfNotPresent --> imagePullPolicy: Never
122
+ * Modify the domain scope property on the domain resource using kubectl apply -f domain.yaml
123
+ * Verify that all the server pods in the domain got re-started The property tested is:
124
+ * imagePullPolicy: IfNotPresent --> imagePullPolicy: Never
120
125
*
121
126
* @throws Exception
122
127
*/
@@ -139,7 +144,9 @@ public void testServerPodsRestartByChangingImagePullPolicy() throws Exception {
139
144
}
140
145
141
146
/**
142
- * The property tested is: includeServerOutInPodLog: true --> includeServerOutInPodLog: false
147
+ * Modify the domain scope property on the domain resource using kubectl apply -f domain.yaml
148
+ * Verify that all the server pods in the domain got re-started The property tested is:
149
+ * includeServerOutInPodLog: true --> includeServerOutInPodLog: false
143
150
*
144
151
* @throws Exception
145
152
*/
@@ -162,8 +169,9 @@ public void testServerPodsRestartByChangingIncludeServerOutInPodLog() throws Exc
162
169
}
163
170
164
171
/**
165
- * The property tested is: image: "store/oracle/weblogic:12.2.1.3" --> image:
166
- * "store/oracle/weblogic:duplicate"
172
+ * Modify the domain scope property on the domain resource using kubectl apply -f domain.yaml
173
+ * Verify that all the server pods in the domain got re-started The property tested is: image:
174
+ * "store/oracle/weblogic:12.2.1.3" --> image: "store/oracle/weblogic:duplicate"
167
175
*
168
176
* @throws Exception
169
177
*/
@@ -193,8 +201,6 @@ private static Domain createPodsRestartdomain() throws Exception {
193
201
194
202
Map <String , Object > domainMap = TestUtils .loadYaml (DOMAINONPV_WLST_YAML );
195
203
domainMap .put ("domainUID" , "domainpodsrestart" );
196
- domainMap .put ("adminNodePort" , new Integer ("30707" ));
197
- domainMap .put ("t3ChannelPort" , new Integer ("30081" ));
198
204
domainMap .put ("initialManagedServerReplicas" , new Integer ("1" ));
199
205
200
206
logger .info ("Creating Domain domain& verifing the domain creation" );
0 commit comments