@@ -135,6 +135,38 @@ public void testCustomSitConfigOverridesForDomain() throws Exception {
135
135
+ " "
136
136
+ T3CHANNELPORT
137
137
+ " weblogic welcome1 "
138
+ + domain .getAdminServerName ()
139
+ + testMethod
140
+ + "'" );
141
+ assertResult (result );
142
+ testCompletedSuccessfully = true ;
143
+ logger .log (Level .INFO , "SUCCESS - {0}" , testMethod );
144
+ }
145
+
146
+ /**
147
+ * This test covers custom configuration override use cases for config.xml.
148
+ *
149
+ * <p>The test checks the overridden config.xml attributes connect-timeout, max-message-size,
150
+ * restart-max, JMXCore and ServerLifeCycle debug flags, the T3Channel public address. The
151
+ * overridden are verified against the ServerConfig MBean tree. It does not verifies whether the
152
+ * overridden values are applied to the runtime.
153
+ *
154
+ * @throws Exception when the assertion fails due to unmatched values
155
+ */
156
+ @ Test
157
+ public void testCustomSitConfigOverridesForDomainMS () throws Exception {
158
+ Assume .assumeFalse (QUICKTEST );
159
+ boolean testCompletedSuccessfully = false ;
160
+ String testMethod = new Object () {}.getClass ().getEnclosingMethod ().getName ();
161
+ logTestBegin (testMethod );
162
+ ExecResult result =
163
+ TestUtils .exec (
164
+ KUBE_EXEC_CMD
165
+ + " 'sh runSitConfigTests.sh "
166
+ + fqdn
167
+ + " "
168
+ + T3CHANNELPORT
169
+ + " weblogic welcome1 managed-server1"
138
170
+ testMethod
139
171
+ "'" );
140
172
assertResult (result );
@@ -170,6 +202,7 @@ public void testCustomSitConfigOverridesForJdbc() throws Exception {
170
202
+ " "
171
203
+ T3CHANNELPORT
172
204
+ " weblogic welcome1 "
205
+ + domain .getAdminServerName ()
173
206
+ testMethod
174
207
+ " "
175
208
+ JDBC_URL
@@ -203,6 +236,7 @@ public void testCustomSitConfigOverridesForJms() throws Exception {
203
236
+ " "
204
237
+ T3CHANNELPORT
205
238
+ " weblogic welcome1 "
239
+ + domain .getAdminServerName ()
206
240
+ testMethod
207
241
+ "'" );
208
242
assertResult (result );
@@ -236,6 +270,7 @@ public void testCustomSitConfigOverridesForWldf() throws Exception {
236
270
+ " "
237
271
+ T3CHANNELPORT
238
272
+ " weblogic welcome1 "
273
+ + domain .getAdminServerName ()
239
274
+ testMethod
240
275
+ "'" );
241
276
assertResult (result );
0 commit comments