commit | 9619295e9e4566abbcff9c807854638c721fc814 | [log] [tgz] |
---|---|---|
author | Junxiao Shi <git@mail1.yoursunny.com> | Wed May 22 15:45:12 2019 +0000 |
committer | Junxiao Shi <git@mail1.yoursunny.com> | Wed May 22 15:45:12 2019 +0000 |
tree | 4500151400bc65ac54a8b160715388fb218e13ca | |
parent | 6cc1dfbdfd36028a993dc7fcca5f1c27e0f86062 [diff] [blame] |
tests: add FreshnessPeriod where MustBeFresh is used refs #4913 Change-Id: I72366c3d84072bae61716b0cc229470124a2a0d5
diff --git a/tests/chunks/discover-version.t.cpp b/tests/chunks/discover-version.t.cpp index 266bcf5..25754fd 100644 --- a/tests/chunks/discover-version.t.cpp +++ b/tests/chunks/discover-version.t.cpp
@@ -142,6 +142,7 @@ // Send back an invalid metadata packet Data data(face.sentInterests.back().getName()); + data.setFreshnessPeriod(1_s); data.setContentType(tlv::ContentType_Key); face.receive(signData(data));