fix merge conflicts

This commit is contained in:
Richard Chen 2020-10-19 16:58:55 +00:00
commit b0668533eb
2 changed files with 13 additions and 1 deletions

View File

@ -177,8 +177,8 @@ struct EndpointNotFoundReceiver final : NetworkMessageReceiver {
EndpointNotFoundReceiver(EndpointMap& endpoints) {
endpoints.insertWellKnown(this, WLTOKEN_ENDPOINT_NOT_FOUND, TaskPriority::DefaultEndpoint);
}
void receive(ArenaObjectReader& reader) override {
// Remote machine tells us it doesn't have endpoint e
Endpoint e;
reader.deserialize(e);
IFailureMonitor::failureMonitor().endpointNotFound(e);

View File

@ -1061,8 +1061,12 @@ void SimulationConfig::generateNormalConfig(int minimumReplication, int minimumR
void setupSimulatedSystem(vector<Future<Void>>* systemActors, std::string baseFolder, int* pTesterCount,
Optional<ClusterConnectionString>* pConnString, Standalone<StringRef>* pStartingConfiguration,
<<<<<<< HEAD
int extraDB, int minimumReplication, int minimumRegions, std::string whitelistBinPaths, bool configureLocked,
int logAntiQuorum, ProtocolVersion protocolVersion) {
=======
int extraDB, int minimumReplication, int minimumRegions, std::string whitelistBinPaths, bool configureLocked, ProtocolVersion protocolVersion) {
>>>>>>> 8c96763ea96f39c55a881b391d95a717207a5683
// SOMEDAY: this does not test multi-interface configurations
SimulationConfig simconfig(extraDB, minimumReplication, minimumRegions);
if (logAntiQuorum != -1) {
@ -1352,7 +1356,11 @@ void setupSimulatedSystem(vector<Future<Void>>* systemActors, std::string baseFo
}
void checkTestConf(const char* testFile, int& extraDB, int& minimumReplication, int& minimumRegions,
<<<<<<< HEAD
int& configureLocked, int& logAntiQuorum, bool& startIncompatibleProcess) {
=======
int& configureLocked, bool& startIncompatibleProcess) {
>>>>>>> 8c96763ea96f39c55a881b391d95a717207a5683
std::ifstream ifs;
ifs.open(testFile, std::ifstream::in);
if (!ifs.good())
@ -1441,7 +1449,11 @@ ACTOR void setupAndRun(std::string dataFolder, const char *testFile, bool reboot
else {
g_expect_full_pointermap = 1;
setupSimulatedSystem(&systemActors, dataFolder, &testerCount, &connFile, &startingConfiguration, extraDB,
<<<<<<< HEAD
minimumReplication, minimumRegions, whitelistBinPaths, configureLocked, logAntiQuorum, protocolVersion);
=======
minimumReplication, minimumRegions, whitelistBinPaths, configureLocked, protocolVersion);
>>>>>>> 8c96763ea96f39c55a881b391d95a717207a5683
wait( delay(1.0) ); // FIXME: WHY!!! //wait for machines to boot
}
std::string clusterFileDir = joinPath( dataFolder, deterministicRandom()->randomUniqueID().toString() );