]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#93,!63] Added todo to expand unit test to cover per server config.
authorMarcin Siodelski <marcin@isc.org>
Thu, 18 Oct 2018 10:21:58 +0000 (12:21 +0200)
committerMarcin Siodelski <marcin@isc.org>
Thu, 18 Oct 2018 11:35:08 +0000 (13:35 +0200)
src/hooks/dhcp/mysql_cb/tests/mysql_cb_dhcp4_unittest.cc

index 2ba27b0da9d15facba28976505159f070c01fa69..9643bdd7dbc66dbc78333fd50a4ac8f43e711d6b 100644 (file)
@@ -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: