Skip to content

Wait for TCP connection refused in the statistics system test

The statistics system test makes a query to foo.info to check for the pending connections because the ans4 doesn't respond to the query.

This might or might not (depending on exact timing) increment the failed TCP connection counter when the query is retried over TCP because ans4 doesn't listen on the TCP.

Wait for the 'connection refused' in the ns3 log file to be able to count the exactly 1 failed TCP connection.

Edited by Ondřej Surý

Merge request reports