private void initOtherId() {
   VM vm = getOtherVm();
   vm.invoke(
       new CacheSerializableRunnable("Connect") {
         public void run2() throws CacheException {
           getCache();
         }
       });
   this.otherId = (DistributedMember) vm.invoke(ProxyDUnitTest.class, "getVMDistributedMember");
 }
 private void doCreateOtherVm() {
   VM vm = getOtherVm();
   vm.invoke(
       new CacheSerializableRunnable("create root") {
         public void run2() throws CacheException {
           AttributesFactory af = new AttributesFactory();
           af.setDataPolicy(DataPolicy.REPLICATE);
           af.setScope(Scope.DISTRIBUTED_ACK);
           createRootRegion("ProxyDUnitTest", af.create());
         }
       });
 }
 public static void testTransactionTimeOut() {
   Host host = Host.getHost(0);
   VM vm0 = host.getVM(0);
   vm0.invoke(ExceptionsDUnitTest.class, "runTest3");
 }
 public static void testBlockingTimeOut() {
   Host host = Host.getHost(0);
   VM vm0 = host.getVM(0);
   vm0.invoke(ExceptionsDUnitTest.class, "runTest1");
 }
 public void tearDown2() throws NamingException, SQLException {
   Host host = Host.getHost(0);
   VM vm0 = host.getVM(0);
   vm0.invoke(ExceptionsDUnitTest.class, "closeCache");
 }
 public void setUp() throws Exception {
   super.setUp();
   Host host = Host.getHost(0);
   VM vm0 = host.getVM(0);
   vm0.invoke(ExceptionsDUnitTest.class, "init");
 }