public class TestInjection extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TestInjection.TestShutdownFailError |
Modifier and Type | Field and Description |
---|---|
static String |
failReplicaRequests |
static String |
failUpdateRequests |
static String |
nonExistentCoreExceptionAfterUnload |
static String |
nonGracefullClose |
static String |
randomDelayInCoreCreation |
static int |
randomDelayMaxInCoreCreationInSec |
static String |
updateLogReplayRandomPause |
static String |
updateRandomPause |
Constructor and Description |
---|
TestInjection() |
Modifier and Type | Method and Description |
---|---|
static boolean |
injectFailReplicaRequests() |
static boolean |
injectFailUpdateRequests() |
static boolean |
injectNonExistentCoreExceptionAfterUnload(String cname) |
static boolean |
injectNonGracefullClose(CoreContainer cc) |
static boolean |
injectRandomDelayInCoreCreation() |
static boolean |
injectUpdateLogReplayRandomPause() |
static boolean |
injectUpdateRandomPause() |
static void |
reset() |
public static String nonGracefullClose
public static String failReplicaRequests
public static String failUpdateRequests
public static String nonExistentCoreExceptionAfterUnload
public static String updateLogReplayRandomPause
public static String updateRandomPause
public static String randomDelayInCoreCreation
public static int randomDelayMaxInCoreCreationInSec
public static void reset()
public static boolean injectRandomDelayInCoreCreation()
public static boolean injectNonGracefullClose(CoreContainer cc)
public static boolean injectFailReplicaRequests()
public static boolean injectFailUpdateRequests()
public static boolean injectNonExistentCoreExceptionAfterUnload(String cname)
public static boolean injectUpdateLogReplayRandomPause()
public static boolean injectUpdateRandomPause()
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.