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 |
failIndexFingerprintRequests |
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 |
static String |
waitForReplicasInSync |
static String |
wrongIndexFingerprint |
Constructor and Description |
---|
TestInjection() |
Modifier and Type | Method and Description |
---|---|
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 |
injectSplitFailureBeforeReplicaCreation() |
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 waitForReplicasInSync
public static String failIndexFingerprintRequests
public static String wrongIndexFingerprint
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 waitForInSyncWithLeader(SolrCore core, ZkController zkController, String collection, String shardId) throws InterruptedException
InterruptedException
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.