mirror of
https://github.com/apple/foundationdb.git
synced 2025-06-02 03:12:12 +08:00
Revert disableSimSpeedup
This commit is contained in:
parent
493e81f31d
commit
38c1e3f603
@ -332,9 +332,6 @@ class TestConfig : public BasicTestConfig {
|
||||
if (attrib == "disableRemoteKVS") {
|
||||
disableRemoteKVS = strcmp(value.c_str(), "true") == 0;
|
||||
}
|
||||
if (attrib == "disableSimSpeedup") {
|
||||
disableSimSpeedup = strcmp(value.c_str(), "true") == 0;
|
||||
}
|
||||
if (attrib == "encryptModes") {
|
||||
std::stringstream ss(value);
|
||||
std::string token;
|
||||
@ -410,8 +407,6 @@ public:
|
||||
bool disableHostname = false;
|
||||
// remote key value store is a child process spawned by the SS process to run the storage engine
|
||||
bool disableRemoteKVS = false;
|
||||
// Some gray failure workload, e.g., DcLag, needs to disable sim speedup
|
||||
bool disableSimSpeedup = false;
|
||||
// By default, encryption mode is set randomly (based on the tenant mode)
|
||||
// If provided, set using EncryptionAtRestMode::fromString
|
||||
std::vector<std::string> encryptModes;
|
||||
@ -492,7 +487,6 @@ public:
|
||||
.add("disableTss", &disableTss)
|
||||
.add("disableHostname", &disableHostname)
|
||||
.add("disableRemoteKVS", &disableRemoteKVS)
|
||||
.add("disableSimSpeedup", &disableSimSpeedup)
|
||||
.add("encryptModes", &encryptModes)
|
||||
.add("simpleConfig", &simpleConfig)
|
||||
.add("generateFearless", &generateFearless)
|
||||
@ -1300,10 +1294,6 @@ ACTOR Future<Void> restartSimulatedSystem(std::vector<Future<Void>>* systemActor
|
||||
g_knobs.setKnob("remote_kv_store", KnobValueRef::create(bool{ false }));
|
||||
TraceEvent(SevDebug, "DisableRemoteKVS");
|
||||
}
|
||||
if (testConfig->disableSimSpeedup) {
|
||||
g_knobs.setKnob("sim_speedup_after_seconds", KnobValueRef::create(double{ 5000.0 }));
|
||||
TraceEvent("DisableSimSpeedup");
|
||||
}
|
||||
*pConnString = conn;
|
||||
*pTesterCount = testerCount;
|
||||
bool usingSSL = conn.toString().find(":tls") != std::string::npos || listenersPerProcess > 1;
|
||||
@ -2160,10 +2150,6 @@ void setupSimulatedSystem(std::vector<Future<Void>>* systemActors,
|
||||
g_knobs.setKnob("remote_kv_store", KnobValueRef::create(bool{ false }));
|
||||
TraceEvent(SevDebug, "DisableRemoteKVS");
|
||||
}
|
||||
if (testConfig.disableSimSpeedup) {
|
||||
g_knobs.setKnob("sim_speedup_after_seconds", KnobValueRef::create(double{ 5000.0 }));
|
||||
TraceEvent("DisableSimSpeedup");
|
||||
}
|
||||
auto configDBType = testConfig.getConfigDBType();
|
||||
for (auto kv : startingConfigJSON) {
|
||||
if ("tss_storage_engine" == kv.first) {
|
||||
|
@ -1405,8 +1405,6 @@ std::map<std::string, std::function<void(const std::string&)>> testSpecGlobalKey
|
||||
[](const std::string& value) { TraceEvent("TestParserTest").detail("ParsedDisableHostname", ""); } },
|
||||
{ "disableRemoteKVS",
|
||||
[](const std::string& value) { TraceEvent("TestParserTest").detail("ParsedRemoteKVS", ""); } },
|
||||
{ "disableSimSpeedup",
|
||||
[](const std::string& value) { TraceEvent("TestParserTest").detail("ParsedDisableSimSpeedup", ""); } },
|
||||
{ "allowDefaultTenant",
|
||||
[](const std::string& value) { TraceEvent("TestParserTest").detail("ParsedDefaultTenant", ""); } }
|
||||
};
|
||||
|
@ -1,6 +1,5 @@
|
||||
[configuration]
|
||||
generateFearless = true
|
||||
disableSimSpeedup = true
|
||||
processesPerMachine = 1
|
||||
machineCount = 20
|
||||
minimumRegions = 2
|
||||
|
Loading…
x
Reference in New Issue
Block a user