private int initServerCache(VM server, int serverNo) {
    Object[] args = new Object[] {getMaxThreads()};
    if (serverNo == 1) {
      return (Integer) server.invoke(InstantiatorPropagationDUnitTest.class,
          "createServerCacheOne", args);
    } else {
      return (Integer) server.invoke(InstantiatorPropagationDUnitTest.class,
          "createServerCacheTwo", args);
    }
  }
this method initializes the appropriate server cache
geode-core/src/distributedTest/java/org/apache/geode/internal/cache/tier/sockets/InstantiatorPropagationDUnitTest.java