From: Marcin Siodelski Date: Thu, 18 Oct 2018 10:21:58 +0000 (+0200) Subject: [#93,!63] Added todo to expand unit test to cover per server config. X-Git-Tag: 153-netconf-configs_base~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=db95286a105f8a55f64b126a3efed76ab923755c;p=thirdparty%2Fkea.git [#93,!63] Added todo to expand unit test to cover per server config. --- diff --git a/src/hooks/dhcp/mysql_cb/tests/mysql_cb_dhcp4_unittest.cc b/src/hooks/dhcp/mysql_cb/tests/mysql_cb_dhcp4_unittest.cc index 2ba27b0da9..9643bdd7db 100644 --- a/src/hooks/dhcp/mysql_cb/tests/mysql_cb_dhcp4_unittest.cc +++ b/src/hooks/dhcp/mysql_cb/tests/mysql_cb_dhcp4_unittest.cc @@ -31,6 +31,15 @@ using namespace isc::dhcp::test; namespace { /// @brief Test fixture class for @c MySqlConfigBackendDHCPv4. +/// +/// @todo The tests we're providing here only test cases when the +/// server selector is set to 'ALL' (configuration elements belong to +/// all servers). Currently we have no API to insert servers into +/// the database, and therefore we can't test the case when +/// configuration elements are assigned to particular servers by +/// server tags. We will have to expand existing tests when +/// the API is extended allowing for inserting servers to the +/// database. class MySqlConfigBackendDHCPv4Test : public GenericBackendTest { public: