public class TestInjection extends Object
LuceneTestCase
is loadable via the ClassLoader used
to load this class. LuceneTestCase.random()
is used as the source of all entropy.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 |
prepRecoveryOpPauseForever |
static String |
randomDelayInCoreCreation |
static int |
randomDelayMaxInCoreCreationInSec |
static String |
splitFailureBeforeReplicaCreation |
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 |
injectPrepRecoveryOpPauseForever() |
static boolean |
injectRandomDelayInCoreCreation() |
static boolean |
injectSplitFailureBeforeReplicaCreation() |
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 prepRecoveryOpPauseForever
public static String randomDelayInCoreCreation
public static int randomDelayMaxInCoreCreationInSec
public static String splitFailureBeforeReplicaCreation
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()
public static boolean injectPrepRecoveryOpPauseForever()
public static boolean injectSplitFailureBeforeReplicaCreation()
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.