Project

General

Profile

Actions

Bug #5117

closed

TestRegistrationCallbacks Fails

Added by Francesco Fedi almost 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Start date:
06/03/2020
Due date:
% Done:

0%

Estimated time:

Description

Executing TestRegistrationCallbacks, the test fails due to NFD Registration Timeout.
I attached the following logs:
-) nfd_Status.txt, which provides the status of NFD at the time of the test execution;
-) TestRegistrationCallbacks_ConsoleLog.txt, which provides the test console output ;
-) TestRegistrationCallbacks_FailureList.txt, which provides the Junit Test Failure log;

The Test has been executed in the following environment:

  • Eclipse Version: 2019-12 (4.14.0);
  • Ubuntu 18.04 as Parallels VM on iMacPro;
  • Java SE 11;
  • jndn-0.24;
  • nfd 0.7.0;

The nfd configuration file is the default.

TestFaceCallRegisterMethods also fails for nfd prefix registration timeout.

Thanks for your support.
My Best Regards,
Francesco


Files

TestRegistrationCallbacks_ConsoleLog.txt (295 Bytes) TestRegistrationCallbacks_ConsoleLog.txt test console output Francesco Fedi, 06/03/2020 01:01 AM
TestRegistrationCallbacks_FailureList.txt (2.5 KB) TestRegistrationCallbacks_FailureList.txt Junit Test Failure log Francesco Fedi, 06/03/2020 01:02 AM
nfd_Status.txt (2.79 KB) nfd_Status.txt status of NFD at test execution time Francesco Fedi, 06/03/2020 01:02 AM
Actions #1

Updated by Anonymous almost 4 years ago

  • Status changed from New to Feedback

The integration tests have not been updated for NFD 0.7.0 which requires a new wire format. Can you try the following? At the beginning of setUp()
https://github.com/named-data/jndn/blob/master/tests/src/net/named_data/jndn/tests/integration_tests/TestRegistrationCallbacks.java#L51

add this line:

WireFormat.setDefaultWireFormat(Tlv0_3WireFormat.get());

Also add that line at the beginning of setUp() in TestFaceInterestMethods:
https://github.com/named-data/jndn/blob/master/tests/src/net/named_data/jndn/tests/integration_tests/TestFaceInterestMethods.java#L137

Actions #2

Updated by Francesco Fedi almost 4 years ago

It works.
Thanks for the support.
My Best Regards,
Francesco

Actions #3

Updated by Anonymous almost 4 years ago

  • Status changed from Feedback to Closed

You're welcome. Closing.

Actions

Also available in: Atom PDF