public class TestTimeoutExceptionInjector extends Object
TimeoutExceptionInjector to ensure we fulfill contracts| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static org.slf4j.Logger |
LOG |
| Constructor and Description |
|---|
TestTimeoutExceptionInjector() |
| Modifier and Type | Method and Description |
|---|---|
void |
testStartAfterComplete()
Demonstrate TimeoutExceptionInjector semantics -- completion means no more exceptions passed to
error listener.
|
void |
testStartAfterTrigger()
Demonstrate TimeoutExceptionInjector semantics -- triggering fires exception and completes
the timer.
|
void |
testTimerPassesOnErrorInfo()
Test that a manually triggered exception with data fires with the data in receiveError.
|
void |
testTimerTrigger()
Test that a manually triggered timer fires an exception.
|
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
public TestTimeoutExceptionInjector()
public void testTimerTrigger()
public void testTimerPassesOnErrorInfo()
public void testStartAfterComplete() throws InterruptedException
InterruptedExceptionpublic void testStartAfterTrigger() throws InterruptedException
InterruptedExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.