Add explicit check for a simulated network

This commit is contained in:
Lukas Joswiak 2022-09-14 12:37:45 -07:00
parent d6b25d6ce8
commit cfbd04ae78
1 changed files with 1 additions and 1 deletions

View File

@ -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) {