CatalogContext catalogContext = this.getCatalogContext();
this.initializeSEATSDatabase(catalogContext, client);
SEATSClient benchmarkClient = this.initializeSEATSClient(catalogContext, client);
assertNotNull(benchmarkClient);
Transaction txn = Transaction.FIND_OPEN_SEATS;
Pair<Object[], ProcedureCallback> pair = benchmarkClient.getFindOpenSeatsParams();
assertNotNull(pair);
Object params[] = pair.getFirst();
ClientResponse cresponse = null;
try {
cresponse = client.callProcedure(txn.getExecName(), params);
assertEquals(Status.OK, cresponse.getStatus());
} catch (ProcCallException ex) {
cresponse = ex.getClientResponse();
assertEquals(cresponse.toString(), Status.ABORT_USER, cresponse.getStatus());
}