ccnx: Fixing order of formatting Selectors into ccnb
C-library expects a specific order of fields... apparently
Change-Id: Ic0fc53130242e4e786a0399eb96ba7231841f97b
diff --git a/test/test-ccnx-wrapper.cc b/test/test-ccnx-wrapper.cc
index 06535fc..5389702 100644
--- a/test/test-ccnx-wrapper.cc
+++ b/test/test-ccnx-wrapper.cc
@@ -106,6 +106,8 @@
BOOST_AUTO_TEST_CASE (BlaCcnxWrapperTest)
{
+ INIT_LOGGERS ();
+
setup();
Name prefix1("/c1");
Name prefix2("/c2");
@@ -135,7 +137,9 @@
Closure closure (bind(dataCallback, _1, _2), bind(timeout, _1, _2, _3));
Selectors selectors;
- selectors.interestLifetime(1);
+ selectors
+ .interestLifetime(1)
+ .childSelector(Selectors::RIGHT);
string n1 = "/random/01";
c1->sendInterest(Name(n1), closure, selectors);