From 9b32c968fa497eeea7db2a883e83a7dc4b0f1803 Mon Sep 17 00:00:00 2001 From: Andrei Litvin Date: Mon, 14 Mar 2022 13:23:59 -0400 Subject: [PATCH] Updated comment --- src/lib/dnssd/minimal_mdns/tests/TestAdvertiser.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/lib/dnssd/minimal_mdns/tests/TestAdvertiser.cpp b/src/lib/dnssd/minimal_mdns/tests/TestAdvertiser.cpp index a6a4ee415199f3..b937364c91acdd 100644 --- a/src/lib/dnssd/minimal_mdns/tests/TestAdvertiser.cpp +++ b/src/lib/dnssd/minimal_mdns/tests/TestAdvertiser.cpp @@ -330,6 +330,10 @@ void OperationalAdverts(nlTestSuite * inSuite, void * inContext) // We should be able to add several operational networks // As these are platform::new allocated, there is no upper limit + // TODO: Responder still has an upper limit of responders, which gets checked + // here but should be removed as part of #8000 as we want to not have an + // upper bound on number of operational networks (or at least not memory + // enforced but rather policy enforced) NL_TEST_ASSERT(inSuite, mdnsAdvertiser.Advertise(operationalParams3) == CHIP_NO_ERROR); NL_TEST_ASSERT(inSuite, mdnsAdvertiser.Advertise(operationalParams4) == CHIP_NO_ERROR); NL_TEST_ASSERT(inSuite, mdnsAdvertiser.Advertise(operationalParams5) == CHIP_NO_ERROR);