diff --git a/fdbserver/worker.actor.cpp b/fdbserver/worker.actor.cpp index db47ee1b9d..3d912737ff 100644 --- a/fdbserver/worker.actor.cpp +++ b/fdbserver/worker.actor.cpp @@ -792,7 +792,7 @@ TEST_CASE("/fdbserver/worker/addressInDbAndRemoteDc") { // Create a satellite tlog, and it shouldn't be considered as in remote DC. testDbInfo.logSystemConfig.tLogs.push_back(TLogSet()); - testDbInfo.logSystemConfig.tLogs.back().locality == tagLocalitySatellite; + testDbInfo.logSystemConfig.tLogs.back().locality = tagLocalitySatellite; NetworkAddress satelliteTLogAddress(IPAddress(0x13131313), 1); TLogInterface satelliteTLog(fakeRemote); satelliteTLog.initEndpoints();