Project

General

Profile

Actions

Bug #4031

closed

TestFaces/Unix and TestFaces/Tcp are failing on nNacks and nTimeouts

Added by Junxiao Shi about 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Tests
Target version:
Start date:
04/04/2017
Due date:
% Done:

100%

Estimated time:
1.00 h

Description

Face integrated tests are failing with:

../tests/integrated/face.cpp(181): error in "Unix": check nNacks == 0 failed [1 != 0]
../tests/integrated/face.cpp(182): error in "Unix": check nTimeouts == 1 failed [0 != 1]
../tests/integrated/face.cpp(209): error in "Tcp": check nNacks == 0 failed [1 != 0]
../tests/integrated/face.cpp(210): error in "Tcp": check nTimeouts == 1 failed [0 != 1]

These test cases express an Interest with a name that is unlikely to have a producer, and expects a timeout. However, the default best-route v4 strategy in NFD responds Nack-NoRoute in this situation.

Actions #1

Updated by Junxiao Shi over 6 years ago

20170809 NFD call decides the solution is to create a route toward the "null face" to force timeouts.

Actions #2

Updated by Junxiao Shi over 6 years ago

  • Status changed from New to Code review
  • Assignee set to Junxiao Shi
  • % Done changed from 0 to 100
Actions #3

Updated by Davide Pesavento over 6 years ago

  • Status changed from Code review to Closed
Actions

Also available in: Atom PDF