Example #1
0
 @Test
 public void testSharedServersMultipleInstances2StartAllStopAll() throws Exception {
   int numInstances = Runtime.getRuntime().availableProcessors() - 1;
   numInstances = numInstances > 0 ? numInstances : 1;
   sharedServers(getMethodName(), true, numInstances, numInstances, numInstances);
 }
Example #2
0
 @Test
 public void testSharedServersMultipleInstances3StartAllStopSome() throws Exception {
   int numInstances = Runtime.getRuntime().availableProcessors() + 1;
   sharedServers(getMethodName(), true, numInstances, numInstances, numInstances / 2);
 }
Example #3
0
 @Test
 public void testSharedServersMultipleInstances1() throws Exception {
   int numInstances = Runtime.getRuntime().availableProcessors() * 2;
   sharedServers(getMethodName(), true, numInstances, 0, 0);
 }