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 Integer |
delayBeforeSlaveCommitRefresh |
static String |
failIndexFingerprintRequests |
static String |
failReplicaRequests |
static String |
failUpdateRequests |
static String |
nonExistentCoreExceptionAfterUnload |
static String |
nonGracefullClose |
static String |
prepRecoveryOpPauseForever |
static String |
randomDelayInCoreCreation |
static int |
randomDelayMaxInCoreCreationInSec |
static String |
splitFailureAfterReplicaCreation |
static String |
splitFailureBeforeReplicaCreation |
static CountDownLatch |
splitLatch |
static boolean |
uifOutOfMemoryError |
static String |
updateLogReplayRandomPause |
static String |
updateRandomPause |
static String |
waitForReplicasInSync |
static String |
wrongIndexFingerprint |
Constructor and Description |
---|
TestInjection() |
Modifier and Type | Method and Description |
---|---|
static boolean |
injectDelayBeforeSlaveCommitRefresh() |
static boolean |
injectFailIndexFingerprintRequests() |
static boolean |
injectFailReplicaRequests() |
static boolean |
injectFailUpdateRequests() |
static boolean |
injectNonExistentCoreExceptionAfterUnload(String cname) |
static boolean |
injectNonGracefullClose(CoreContainer cc) |
static boolean |
injectPrepRecoveryOpPauseForever() |
static boolean |
injectRandomDelayInCoreCreation() |
static boolean |
injectSplitFailureAfterReplicaCreation() |
static boolean |
injectSplitFailureBeforeReplicaCreation() |
static boolean |
injectSplitLatch() |
static boolean |
injectUIFOutOfMemoryError() |
static boolean |
injectUpdateLogReplayRandomPause() |
static boolean |
injectUpdateRandomPause() |
static boolean |
injectWrongIndexFingerprint() |
static void |
reset() |
static boolean |
waitForInSyncWithLeader(SolrCore core,
ZkController zkController,
String collection,
String shardId) |
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 String splitFailureAfterReplicaCreation
public static CountDownLatch splitLatch
public static String waitForReplicasInSync
public static String failIndexFingerprintRequests
public static String wrongIndexFingerprint
public static Integer delayBeforeSlaveCommitRefresh
public static boolean uifOutOfMemoryError
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 waitForInSyncWithLeader(SolrCore core, ZkController zkController, String collection, String shardId)
public static boolean injectDelayBeforeSlaveCommitRefresh()
public static boolean injectUIFOutOfMemoryError()
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.