@Override
  public void afterTest(QTestUtil qt) throws Exception {
    message = null;
  }
QTest disabled directive handler

Example:
--! qt:disabled:reason
itests/util/src/main/java/org/apache/hadoop/hive/ql/qoption/QTestDisabledHandler.java