@Override
  protected void recordVersions(RegionVersionHolder vh, BitSet bs) {
    List<Integer> list = new ArrayList<>();
    // Build a list of the versions to record
    for (int i = 1; i < bs.length(); i++) {
      if (bs.get(i)) {
        list.add(i);
      }
    }

    // randomize the list
    Collections.shuffle(list, random);
    for (Integer version : list) {
      vh.recordVersion(version);
    }
  }
Record versions in random order, rather than in sequential order This should generate and fill
some exceptions.
geode-core/src/test/java/org/apache/geode/internal/cache/versions/RegionVersionHolderRandomJUnitTest.java