@Override
  public void beforeTest(QTestUtil qt) throws Exception {
    Assume.assumeTrue(message, (message == null));
  }
QTest disabled directive handler

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