Exemplo n.º 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);
 }
Exemplo n.º 2
0
 @Test
 public void testSharedServersMultipleInstances3StartAllStopSome() throws Exception {
   int numInstances = Runtime.getRuntime().availableProcessors() + 1;
   sharedServers(getMethodName(), true, numInstances, numInstances, numInstances / 2);
 }
Exemplo n.º 3
0
 @Test
 public void testSharedServersMultipleInstances1() throws Exception {
   int numInstances = Runtime.getRuntime().availableProcessors() * 2;
   sharedServers(getMethodName(), true, numInstances, 0, 0);
 }