From: Tomek Mrugalski Date: Tue, 13 Aug 2019 21:37:17 +0000 (-0700) Subject: [#433] Added an explanation why a test could fail and how to fix it. X-Git-Tag: Kea-1.6.0~41^2~110 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c46e8da1561e7d0c6c6f481d2e32cc9ae398324c;p=thirdparty%2Fkea.git [#433] Added an explanation why a test could fail and how to fix it. --- diff --git a/src/lib/yang/tests/config_unittests.cc b/src/lib/yang/tests/config_unittests.cc index 7910650bbb..57a2c0d1ee 100644 --- a/src/lib/yang/tests/config_unittests.cc +++ b/src/lib/yang/tests/config_unittests.cc @@ -318,6 +318,12 @@ TEST_F(ConfigTest, validateIetf6) { ASSERT_NO_THROW(load(validTreeIetf6)); EXPECT_TRUE(verify(validTreeIetf6)); + // If this validation fails, make sure you have the model *and its + // dependencies* are installed. Note when you install ietf-dhcpv6-server + // module, its dependencies are semi-installed, which is not sufficient. + // This can be detected in output of sysrepoctl -l. + // Note the ietf-interfaces module. The conformance status must be + // "installed". "implemented" (installed as dependency) is not enough. EXPECT_TRUE(validate()); }