private List<Integer> compileAndRespond(String query, int threadCount) throws Exception {
    return compileAndRespond(query, false, threadCount);
  }
Test that checks that the queries above the quota are timed out, so the compilation quota maximum is honored.
@throws Exception
ql/src/test/org/apache/hadoop/hive/ql/TestCompileLock.java