Class TestForeignExceptionDispatcher

java.lang.Object
org.apache.hadoop.hbase.errorhandling.TestForeignExceptionDispatcher

Test that we propagate errors through an dispatcher exactly once via different failure injection mechanisms.
  • Field Details

    • CLASS_RULE

      public static final HBaseClassTestRule CLASS_RULE
    • LOG

      private static final org.slf4j.Logger LOG
    • EXTEXN

      final org.apache.hadoop.hbase.errorhandling.ForeignException EXTEXN
      Exception thrown from the test
    • EXTEXN2

      final org.apache.hadoop.hbase.errorhandling.ForeignException EXTEXN2
  • Constructor Details

  • Method Details

    • testErrorPropagation

      public void testErrorPropagation()
      Tests that a dispatcher only dispatches only the first exception, and does not propagate subsequent exceptions.
    • testSingleDispatcherWithTimer

    • testAttemptTimer

      public void testAttemptTimer()
      Test that the dispatcher can receive an error via the timer mechanism.