diff options
author | JINMEI Tatuya <jinmei@isc.org> | 2013-04-01 22:52:52 +0200 |
---|---|---|
committer | JINMEI Tatuya <jinmei@isc.org> | 2013-04-01 22:52:52 +0200 |
commit | e8137e183ee0b94ccc82d47d1489a470d551bff6 (patch) | |
tree | 7a6a23b532443cfbaec09a29408403985792a549 /src/bin/auth/tests/auth_srv_unittest.cc | |
parent | [2833] update/clarify the (new) meaning of DATASRC_LIST_NOT_CACHED (diff) | |
download | kea-e8137e183ee0b94ccc82d47d1489a470d551bff6.tar.xz kea-e8137e183ee0b94ccc82d47d1489a470d551bff6.zip |
[2833] pass CacheConfig to DataSourceClient and maintain it there.
also simplified the constructor interface; we actually don't need the
other one.
Diffstat (limited to 'src/bin/auth/tests/auth_srv_unittest.cc')
-rw-r--r-- | src/bin/auth/tests/auth_srv_unittest.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bin/auth/tests/auth_srv_unittest.cc b/src/bin/auth/tests/auth_srv_unittest.cc index f561dccfb8..6d9eda6863 100644 --- a/src/bin/auth/tests/auth_srv_unittest.cc +++ b/src/bin/auth/tests/auth_srv_unittest.cc @@ -76,7 +76,6 @@ using namespace isc::asiolink; using namespace isc::testutils; using namespace isc::server_common::portconfig; using namespace isc::auth::unittest; -using isc::datasrc::memory::ZoneTableSegment; using isc::UnitTestUtil; using boost::scoped_ptr; using isc::auth::statistics::Counters; @@ -1757,12 +1756,13 @@ public: data_sources_.push_back( DataSourceInfo(client.get(), isc::datasrc::DataSourceClientContainerPtr(), - false, RRClass::IN(), ztable_segment_, "")); + boost::shared_ptr< + isc::datasrc::internal::CacheConfig>(), + RRClass::IN(), "")); } } private: const boost::shared_ptr<isc::datasrc::ConfigurableClientList> real_; - boost::shared_ptr<ZoneTableSegment> ztable_segment_; // can be null vector<isc::datasrc::DataSourceClientPtr> clients_; }; |