tests: make RA tests run on VPP time 86/23186/2
authorAndrew Yourtchenko <ayourtch@gmail.com>
Sun, 13 Oct 2019 18:56:03 +0000 (18:56 +0000)
committerAndrew Yourtchenko <ayourtch@gmail.com>
Tue, 5 Nov 2019 10:31:18 +0000 (10:31 +0000)
commit92a5fdd6849a2788ae42d7d09a6f2838413a9dfb
tree136bcad59d66314c44f5ea1e3b8bf07a08d4d05c
parent5cd73e6d927d45d6129b04ad07b8e6623da83e47
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>
(cherry picked from commit 63cb8827e586f02f53512d23a8e7596fe9c19aa8)
test/framework.py
test/test_ip6.py