9596979899100101102103104105
{ assertTrue(rmbe.getCause() instanceof IllegalArgumentException); } finally { server.stop(); } } // Package protected ---------------------------------------------
{ assertTrue(rmbe.getCause() instanceof IllegalArgumentException); } finally { server.stop(); } } public void testServerPeerIDLimit() throws Exception {
116117118119120121122123124125126
{ fail("Large ServerPeerID should be allowed (0 - 65535)"); } finally { server.stop(); } } // Package protected ---------------------------------------------
96979899100101102103104105106
117118119120121122123124125126127
{ fail("Largest ServerPeerID should be allowed (0 - 1023)"); } finally { server.stop(); } } public void testServerPeerIDLimit2() throws Exception {
139140141142143144145146147148149
{ //ignore } finally { server.stop(); } } //https://jira.jboss.org/jira/browse/JBMESSAGING-1732 //make sure the defaults are correct
160161162163164165166167168169170
int maxRetry = sp.getSuckerConnectionRetryTimes(); assertEquals(-1, maxRetry); } finally { server.stop(); } } // Package protected ---------------------------------------------