1
0
mirror of https://github.com/apple/foundationdb.git synced 2025-05-28 10:52:03 +08:00

Fix unit test that set coordinators to fake processes that the simulator didn't know about

This commit is contained in:
A.J. Beamon 2021-02-05 22:07:40 -08:00
parent 618585f9dd
commit 5c4863b33e

@ -2020,6 +2020,10 @@ TEST_CASE("/ManagementAPI/AutoQuorumChange/checkLocality") {
data.locality.set(LiteralStringRef("machineid"), StringRef(machineId));
data.address.ip = IPAddress(i);
g_simulator.newProcess(format("TestProcess%d", i).c_str(), data.address.ip, data.address.port, false, 1,
data.locality, ProcessClass(ProcessClass::CoordinatorClass, ProcessClass::CommandLineSource),
"", "");
workers.push_back(data);
}