face: Connect faces to the parent (unicast) or associated (multicast) channels
Change-Id: Ie7b2e8fb60050a2bc6e4f5ad053c26e121f3c3d5
Refs: #4973
diff --git a/tests/daemon/face/ethernet-factory.t.cpp b/tests/daemon/face/ethernet-factory.t.cpp
index 605d3e2..269c79f 100644
--- a/tests/daemon/face/ethernet-factory.t.cpp
+++ b/tests/daemon/face/ethernet-factory.t.cpp
@@ -151,6 +151,11 @@
parseConfig(CONFIG, false);
BOOST_CHECK_EQUAL(this->countEtherMcastFaces(), netifs.size());
+ for (const auto& face : this->listEtherMcastFaces()) {
+ BOOST_REQUIRE(face->getChannel().lock());
+ // not universal, but for Ethernet, local URI of a mcast face matches URI of the associated channel
+ BOOST_CHECK_EQUAL(face->getLocalUri(), face->getChannel().lock()->getUri());
+ }
}
BOOST_AUTO_TEST_CASE(EnableDisableMcast)