@Override
        public void beforeRerunningIndexCreationQuery() {
          // Spawn a separate thread here which does a put opertion on region
          Thread th = new Thread(() -> {
            // Assert that the size of region is now 0
            assertTrue(region.size() == 0);
            region.put("" + 8, new Portfolio(8));
          });
          th.start();
          ThreadUtils.join(th, 30 * 1000);
          assertTrue(region.size() == 1);
        }
Needed to fix this since the key "4" was not found and the size was then redueced to 3 after
invalidating the key 3
geode-core/src/integrationTest/java/org/apache/geode/cache/query/internal/index/IndexMaintenanceJUnitTest.java