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 Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
(package private) final org.apache.hadoop.hbase.errorhandling.ForeignException
Exception thrown from the test(package private) final org.apache.hadoop.hbase.errorhandling.ForeignException
private static final org.slf4j.Logger
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Test that the dispatcher can receive an error via the timer mechanism.void
Tests that a dispatcher only dispatches only the first exception, and does not propagate subsequent exceptions.void
-
Field Details
-
CLASS_RULE
-
LOG
-
EXTEXN
Exception thrown from the test -
EXTEXN2
-
-
Constructor Details
-
TestForeignExceptionDispatcher
public TestForeignExceptionDispatcher()
-
-
Method Details
-
testErrorPropagation
Tests that a dispatcher only dispatches only the first exception, and does not propagate subsequent exceptions. -
testSingleDispatcherWithTimer
-
testAttemptTimer
Test that the dispatcher can receive an error via the timer mechanism.
-