fix assignment error in addressInDbAndRemoteDc unittest

This commit is contained in:
Zhe Wu 2021-10-07 15:29:35 -07:00
parent efd75ccc74
commit 784d899afb
1 changed files with 1 additions and 1 deletions

View File

@ -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();