private void verifyErrorCount(int code, Matcher<Integer> matcher, List<Integer> responseList) {
    int count = 0;

    for(Integer response : responseList){
      if (code == response){
        count++;
      }
    }
    assertThat(count, matcher);
  }
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