tests: log error which happens during connect and wait longer for stats socket 91/22691/3
authorAndrew Yourtchenko <ayourtch@gmail.com>
Sun, 13 Oct 2019 10:06:46 +0000 (10:06 +0000)
committerOle Trøan <otroan@employees.org>
Mon, 14 Oct 2019 18:55:33 +0000 (18:55 +0000)
commit4f05a8e408cba09057841d97cd5e7da3058836d1
tree0856fccab944feb561e832c7b6f2a0fe146bc3fe
parent8921dc675458b238fc03c5aed53d3462bcdbdb3c
tests: log error which happens during connect and wait longer for stats socket

Intermittently, a test would start VPP, but no testcases would execute.
This would be more probable apparent during the high load or if there
is another testcase dumping the core at that moment.
Adding the logging to the connection revealed it was the stats socket
connection erroring with error -2. Increasing the deadline
from 3 seconds to 5 minutes has eliminated this error.

Change-Id: I40bd7e642abb9e2aef0238c612e4c34781de5db2
Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
Type: test
test/framework.py