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 interface |
TestInjection.Hook |
static class |
TestInjection.TestShutdownFailError |
Modifier and Type | Field and Description |
---|---|
static Map<String,String> |
additionalSystemProps |
static Integer |
delayBeforeSlaveCommitRefresh |
static Integer |
delayInExecutePlanAction |
static String |
failIndexFingerprintRequests |
static boolean |
failInExecutePlanAction |
static String |
failReplicaRequests |
static String |
failUpdateRequests |
static String |
nonExistentCoreExceptionAfterUnload |
static String |
nonGracefullClose |
static String |
prepRecoveryOpPauseForever |
static String |
randomDelayInCoreCreation |
static int |
randomDelayMaxInCoreCreationInSec |
static String |
reindexFailure |
static CountDownLatch |
reindexLatch |
static String |
splitFailureAfterReplicaCreation |
static String |
splitFailureBeforeReplicaCreation |
static CountDownLatch |
splitLatch |
static boolean |
uifOutOfMemoryError |
static String |
updateLogReplayRandomPause |
static String |
updateRandomPause |
static String |
wrongIndexFingerprint |
Constructor and Description |
---|
TestInjection() |
public static volatile String nonGracefullClose
public static volatile String failReplicaRequests
public static volatile String failUpdateRequests
public static volatile String nonExistentCoreExceptionAfterUnload
public static volatile String updateLogReplayRandomPause
public static volatile String updateRandomPause
public static volatile String prepRecoveryOpPauseForever
public static volatile String randomDelayInCoreCreation
public static volatile int randomDelayMaxInCoreCreationInSec
public static volatile String splitFailureBeforeReplicaCreation
public static volatile String splitFailureAfterReplicaCreation
public static volatile CountDownLatch splitLatch
public static volatile CountDownLatch reindexLatch
public static volatile String reindexFailure
public static volatile String failIndexFingerprintRequests
public static volatile String wrongIndexFingerprint
public static volatile Integer delayBeforeSlaveCommitRefresh
public static volatile Integer delayInExecutePlanAction
public static volatile boolean failInExecutePlanAction
public static volatile boolean uifOutOfMemoryError
public static void notifyPauseForeverDone()
public static void reset()
public static boolean injectWrongIndexFingerprint()
public static boolean injectFailIndexFingerprintRequests()
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()
public static boolean injectSplitFailureAfterReplicaCreation()
public static boolean injectSplitLatch()
public static boolean injectReindexFailure()
public static boolean injectReindexLatch()
public static boolean injectDelayBeforeSlaveCommitRefresh()
public static boolean injectUIFOutOfMemoryError()
public static boolean newSearcherHook(TestInjection.Hook hook)
public static boolean injectSearcherHooks(String collectionName)
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.