assertEquals(0, numFailed.get());
// At this point we know that all of our txns have been committed to disk
// Make sure that our vote is actually in the real table and materialized views
String query = "SELECT COUNT(*) FROM votes";
ClientResponse cresponse = client.callProcedure("@AdHoc", query);
System.err.println(cresponse);
assertEquals(Status.OK, cresponse.getStatus());
VoltTable results[] = cresponse.getResults();
assertEquals(1, results.length);
assertEquals(numCompleted.get(), results[0].asScalarLong());