Skip to content

Commit 471824c

Browse files
committed
Fix Syntax error in Try clause
1 parent f44f1dc commit 471824c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,14 +300,18 @@ protected void verifyMaxMessageSize(int expectedValue) {
300300
protected void verifyServer1MaxMessageSize(int expectedValue) {
301301
String serverName = "managed-server1";
302302

303+
try {
303304
EditServiceMBean editSvc = getEditService();
304305
ConfigurationManagerMBean cfgMgr = editSvc.getConfigurationManager();
305306
cfgMgr.startEdit(-1, -1);
306307
DomainMBean editDomainMBean = editSvc.getDomainConfiguration();
307308

308309
ServerMBean serverMbean = editDomainMBean.lookupServer(serverName);
309310
int got = serverMbean.getMaxMessageSize();
310-
System.out.println("DEBUG: MaxMessageSize of " + serverName + " is : " + got);
311+
}
312+
catch (Exception e) {
313+
e.printStackTrace();
314+
}
311315
assert expectedValue == got
312316
: "Didn't get the expected value " + expectedValue + " for " + serverName + " MaxMessageSize";
313317
}

0 commit comments

Comments
 (0)