commit | 73b4980eb6ad2cdf39629f30f5fb8b75537c4bc1 | [log] [tgz] |
---|---|---|
author | Junxiao Shi <git@mail1.yoursunny.com> | Sat May 25 07:52:26 2019 +0000 |
committer | Junxiao Shi <git@mail1.yoursunny.com> | Sat May 25 07:52:26 2019 +0000 |
tree | eef601b5f83a0c9164fd815c45ec522c9888f88b | |
parent | 25d9728d2fdc3aa762bcacb41a965fea1be1564d [diff] [blame] |
tests: add FreshnessPeriod where MustBeFresh is used Also, set MustBeFresh in autoconfig-server HubData test, to reflect the behavior of autoconfig client. refs #4913 Change-Id: I0af29378630a2208e98ef0913d83668a603e9a88
diff --git a/tests/tools/ndn-autoconfig-server/program.t.cpp b/tests/tools/ndn-autoconfig-server/program.t.cpp index 4e78bef..cc007ce 100644 --- a/tests/tools/ndn-autoconfig-server/program.t.cpp +++ b/tests/tools/ndn-autoconfig-server/program.t.cpp
@@ -67,6 +67,7 @@ this->initialize(options); Interest interest("/localhop/ndn-autoconf/hub"); + interest.setMustBeFresh(true); face.receive(interest); face.processEvents(500_ms);