public void closeServer(VM server) {
    server.invoke(new SerializableRunnable("Close CacheServer") {
      @Override
      public void run() {
        LogWriterUtils.getLogWriter().info("### Close CacheServer. ###");
        stopBridgeServer(getCache());
      }
    });
  }
Create a cache server with partitioned region.

@param server VM where to create the cache server.
@param port cache server port.
@param isAccessor if true the under lying partitioned region will not host data on this vm.
@param redundantCopies number of redundant copies for the primary bucket.
geode-cq/src/distributedTest/java/org/apache/geode/cache/query/cq/dunit/CqQueryUsingPoolDUnitTest.java