face+mgmt: allow congestion marking parameters to be enabled and set
refs #4465
Change-Id: I9d49135ab32bacb2885b70031c573f7c8709ac1f
diff --git a/tests/daemon/face/factory-test-common.hpp b/tests/daemon/face/factory-test-common.hpp
index 6ea56bf..795bdf3 100644
--- a/tests/daemon/face/factory-test-common.hpp
+++ b/tests/daemon/face/factory-test-common.hpp
@@ -36,12 +36,19 @@
struct TestFaceParams : public FaceParams
{
- TestFaceParams(ndn::nfd::FacePersistency persistency, bool wantLocalFields,
- bool wantLpReliability) noexcept
+ TestFaceParams(ndn::nfd::FacePersistency persistency,
+ ndn::optional<time::nanoseconds> baseCongestionMarkingInterval,
+ ndn::optional<uint64_t> defaultCongestionThreshold,
+ bool wantLocalFields,
+ bool wantLpReliability,
+ boost::logic::tribool wantCongestionMarking) noexcept
{
this->persistency = persistency;
+ this->baseCongestionMarkingInterval = baseCongestionMarkingInterval;
+ this->defaultCongestionThreshold = defaultCongestionThreshold;
this->wantLocalFields = wantLocalFields;
this->wantLpReliability = wantLpReliability;
+ this->wantCongestionMarking = wantCongestionMarking;
}
};