|
@@ -730,7 +730,7 @@ installDataSrcClientLists(AuthSrv& server, DataSrcClientListsPtr lists) {
|
|
// For now, we use explicit swap than reconfigure() because the latter
|
|
// For now, we use explicit swap than reconfigure() because the latter
|
|
// involves a separate thread and cannot guarantee the new config is
|
|
// involves a separate thread and cannot guarantee the new config is
|
|
// available for the subsequent test.
|
|
// available for the subsequent test.
|
|
- server.getDataSrcClientsMgr().swapDataSrcClientLists(lists);
|
|
|
|
|
|
+ server.getDataSrcClientsMgr().setDataSrcClientLists(lists);
|
|
}
|
|
}
|
|
|
|
|
|
void
|
|
void
|
|
@@ -1447,7 +1447,7 @@ TEST_F(AuthSrvTest,
|
|
}
|
|
}
|
|
DataSrcClientListsPtr lists(new std::map<RRClass, ListPtr>);
|
|
DataSrcClientListsPtr lists(new std::map<RRClass, ListPtr>);
|
|
lists->insert(pair<RRClass, ListPtr>(RRClass::IN(), list));
|
|
lists->insert(pair<RRClass, ListPtr>(RRClass::IN(), list));
|
|
- server.getDataSrcClientsMgr().swapDataSrcClientLists(lists);
|
|
|
|
|
|
+ server.getDataSrcClientsMgr().setDataSrcClientLists(lists);
|
|
|
|
|
|
createDataFromFile("nsec3query_nodnssec_fromWire.wire");
|
|
createDataFromFile("nsec3query_nodnssec_fromWire.wire");
|
|
server.processMessage(*io_message, *parse_message, *response_obuffer,
|
|
server.processMessage(*io_message, *parse_message, *response_obuffer,
|
|
@@ -1479,7 +1479,7 @@ setupThrow(AuthSrv& server, ThrowWhen throw_when, bool isc_exception,
|
|
}
|
|
}
|
|
DataSrcClientListsPtr lists(new std::map<RRClass, ListPtr>);
|
|
DataSrcClientListsPtr lists(new std::map<RRClass, ListPtr>);
|
|
lists->insert(pair<RRClass, ListPtr>(RRClass::IN(), list));
|
|
lists->insert(pair<RRClass, ListPtr>(RRClass::IN(), list));
|
|
- mgr.swapDataSrcClientLists(lists);
|
|
|
|
|
|
+ mgr.setDataSrcClientLists(lists);
|
|
}
|
|
}
|
|
|
|
|
|
TEST_F(AuthSrvTest,
|
|
TEST_F(AuthSrvTest,
|