From c46e8da1561e7d0c6c6f481d2e32cc9ae398324c Mon Sep 17 00:00:00 2001 From: Tomek Mrugalski Date: Tue, 13 Aug 2019 14:37:17 -0700 Subject: [PATCH] [#433] Added an explanation why a test could fail and how to fix it. --- src/lib/yang/tests/config_unittests.cc | 6 ++++++ 1 file changed, 6 insertions(+) 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()); } -- 2.47.2