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