@Ignore @Test public void testGatewaySenderEventListenerInvocationWithoutLocator(){
  int mPort=AvailablePortHelper.getRandomAvailablePortForDUnitSite();
  vm4.invoke(null);
  vm5.invoke(null);
  vm6.invoke(null);
  vm7.invoke(null);
  vm4.invoke(null);
  vm5.invoke(null);
  startSenderInVMs("ln",vm4,vm5);
  vm4.invoke(null);
  vm5.invoke(null);
  vm6.invoke(null);
  vm7.invoke(null);
  final Map keyValues=new HashMap();
  for (int i=0; i < 1000; i++) {
    keyValues.put(i,i);
  }
  vm4.invoke(null);
  vm4.invoke(null);
  vm5.invoke(null);
  vm4.invoke(null);
  vm5.invoke(null);
  fail("tried to invoke missing method");
}

@ Ignore @ Test public void testGatewaySenderEventListenerInvocationWithoutLocator ( ) { int mPort = AvailablePortHelper . getRandomAvailablePortForDUnitSite ( ) ; vm4 . invoke ( null ) ; vm5 . invoke ( null ) ; vm6 . invoke ( null ) ; vm7 . invoke ( null ) ; vm4 . invoke ( null ) ; vm5 . invoke ( null ) ; startSenderInVMs ( "ln" , vm4 , vm5 ) ; vm4 . invoke ( null ) ; vm5 . invoke ( null ) ; vm6 . invoke ( null ) ; vm7 . invoke ( null ) ; final Map keyValues = new HashMap ( ) ; for ( int i = 0 ; i < 1000 ; i ++ ) { keyValues . put ( i , i ) ; } vm4 . invoke ( null ) ; vm4 . invoke ( null ) ; vm5 . invoke ( null ) ; vm4 . invoke ( null ) ; vm5 . invoke ( null ) ; fail ( "tried to invoke missing method" ) ; }
test validates whether the listener attached receives all the events . this test hangs after the darrel ' s checkin 36685 . need to work with darrel . commenting it out so that test suit will not hang
