@Override
      public void run2() throws CacheException {
        // Create DS
        Properties config = getDistributedSystemProperties();
        ClientCache clientCache = getClientCache(new ClientCacheFactory(config));

        // Create Region
        ClientRegionFactory factory = clientCache.createClientRegionFactory(
            proxy ? ClientRegionShortcut.PROXY : ClientRegionShortcut.CACHING_PROXY);
        {
          PoolFactory pf = PoolManager.createFactory();
          for (final int serverPort : serverPorts) {
            pf.addServer(serverHost, serverPort);
          }
          if (proxy) {
            pf.setReadTimeout(30000);
          }
          pf.create("myPool");
        }
        factory.setPoolName("myPool");
        factory.create(regionName);
      }
Class <code>ClientServerGetAllDUnitTest</code> test client/server getAll.

@since GemFire 5.7
geode-core/src/distributedTest/java/org/apache/geode/internal/cache/ClientServerGetAllDUnitTest.java