Project

General

Profile

Actions

Bug #4244

closed

Face/TestWebSocketChannel/SetPingInterval is too strict

Added by Davide Pesavento over 7 years ago. Updated about 7 years ago.

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

100%

Estimated time:
0.50 h

Description

We only give it 30ms of tolerance, which is not enough, especially on Travis-CI, e.g. https://travis-ci.org/named-data/NFD/jobs/263911902
As a result, the test case is unstable and often fails.

../tests/daemon/face/websocket-channel.t.cpp:297: error: in "Face/TestWebSocketChannel/SetPingInterval": check measuredPingInterval <= pingInterval * 1.1 has failed [347825000 nanoseconds > 330 milliseconds]
Actions

Also available in: Atom PDF