Add explicit check for a simulated network
This commit is contained in:
parent
d6b25d6ce8
commit
cfbd04ae78
|
@ -122,7 +122,7 @@ struct ChangeConfigWorkload : TestWorkload {
|
|||
}
|
||||
wait(success(ManagementAPI::changeConfig(cx.getReference(), self->configMode, true)));
|
||||
}
|
||||
if (g_simulator.configDBType != ConfigDBType::SIMPLE) {
|
||||
if (g_network->isSimulated() && g_simulator.configDBType != ConfigDBType::SIMPLE || !g_network->isSimulated()) {
|
||||
if (self->networkAddresses.size()) {
|
||||
state int i;
|
||||
for (i = 0; i < self->coordinatorChanges; ++i) {
|
||||
|
|
Loading…
Reference in New Issue