Project

General

Profile

Actions

Bug #3933

closed

Nack test incorrect counting of Nacks

Added by Junxiao Shi almost 8 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Integration Tests
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:

Description

In IntegrationTests Nack scenario test 3, two Nacks were returned from two upstream faces, and NFD is expected to return only one Nack to the downstream face.
This was implemented as parsing the log of the consumer application and expecting the consumer application to receive only one Nack.
Since #3908, after a consumer expresses multiple Interests with same Name+Selectors+Link, when a Nack with specified Name+Selectors+Link arrives, all pending Interests would be Nacked, breaking the test assumption. Furthermore, in case NFD incorrectly returns more than one Nack, excessive Nacks received by ndn::Face would be dropped.
Thus, the test should be re-implemented by counting the number of Nacks between router NFD and consumer NFD (A-D), through parsing of ndndump or tcpdump logs.


Files

20170125191715.tgz (839 KB) 20170125191715.tgz integ 3621,1 Junxiao Shi, 01/25/2017 08:08 PM

Related issues 1 (0 open1 closed)

Related to NFD - Bug #4058: nfdc input and output format changes cause integration tests to failClosedEric Newberry04/19/2017

Actions
Actions

Also available in: Atom PDF