tests: make RA tests run on VPP time 95/22695/4
authorAndrew Yourtchenko <ayourtch@gmail.com>
Sun, 13 Oct 2019 18:56:03 +0000 (18:56 +0000)
committerOle Trøan <otroan@employees.org>
Mon, 28 Oct 2019 09:16:34 +0000 (09:16 +0000)
commit63cb8827e586f02f53512d23a8e7596fe9c19aa8
treef79715f7a48fafd02f768f9093ec9abbdc2a32be
parentd29422cbeeefb58d0213b295b35d04a673b380e7
tests: make RA tests run on VPP time

the IPv6 RA tests take timing into the account,
but the time inside VPP may go slightly differently compared
to the time inside the driving python thread,
if the machine running the tests is heavily loaded.
Make a sleep function which sleeps "on VPP time" and use it.

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