private void validateAssertions() {
      if (null != throwable) {
        throw new AssertionError(throwable);
      }
    }
Raise an assertion if the thread failed.
ambari-server/src/test/java/org/apache/ambari/server/actionmanager/TestActionSchedulerThreading.java