private void flushDiskStoreOnVM(final VM vm, final String diskStore) {
    vm.invoke(new SerializableRunnable() {
      @Override
      public void run() {
        getCache().findDiskStore(diskStore).flush();
      }
    });
  }
Flushes a disk store on a vm causing region entries to be written to disk.

@param vm the virtual machine to perform the flush on.
@param diskStore the disk store to flush.
geode-core/src/distributedTest/java/org/apache/geode/internal/compression/CompressionRegionConfigDUnitTest.java