management: nfd::Controller allows specifying timeout
refs #1455
Change-Id: I2c9fbba76d8166f7696b6dacb110fe1dba7d3db7
diff --git a/tests/management/test-nfd-controller.cpp b/tests/management/test-nfd-controller.cpp
index fcb53b2..99a028c 100644
--- a/tests/management/test-nfd-controller.cpp
+++ b/tests/management/test-nfd-controller.cpp
@@ -77,6 +77,7 @@
BOOST_REQUIRE_NO_THROW(request.wireDecode(commandInterest.getName().at(4).blockFromValue()));
BOOST_CHECK_NO_THROW(command.validateRequest(request));
BOOST_CHECK_EQUAL(request.getUri(), parameters.getUri());
+ BOOST_CHECK_EQUAL(commandInterest.getInterestLifetime(), Controller::getDefaultCommandTimeout());
ControlParameters responseBody;
responseBody.setUri("tcp4://192.0.2.1:6363")