@Override
      public Object call() throws Exception {
        QueryService qs = getCache().getQueryService();
        Query q = qs.newQuery("select * from " + SEPARATOR + "sample where age < 50");
        assertEquals(0, ((SelectResults) q.execute()).size());
        return null;
      }
verify that queries on indexes work with transaction
geode-core/src/distributedTest/java/org/apache/geode/cache30/TXOrderDUnitTest.java