File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
integration-tests/src/test/resources/sitconfig/java Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -300,14 +300,18 @@ protected void verifyMaxMessageSize(int expectedValue) {
300
300
protected void verifyServer1MaxMessageSize (int expectedValue ) {
301
301
String serverName = "managed-server1" ;
302
302
303
+ try {
303
304
EditServiceMBean editSvc = getEditService ();
304
305
ConfigurationManagerMBean cfgMgr = editSvc .getConfigurationManager ();
305
306
cfgMgr .startEdit (-1 , -1 );
306
307
DomainMBean editDomainMBean = editSvc .getDomainConfiguration ();
307
308
308
309
ServerMBean serverMbean = editDomainMBean .lookupServer (serverName );
309
310
int got = serverMbean .getMaxMessageSize ();
310
- System .out .println ("DEBUG: MaxMessageSize of " + serverName + " is : " + got );
311
+ }
312
+ catch (Exception e ) {
313
+ e .printStackTrace ();
314
+ }
311
315
assert expectedValue == got
312
316
: "Didn't get the expected value " + expectedValue + " for " + serverName + " MaxMessageSize" ;
313
317
}
You can’t perform that action at this time.
0 commit comments