summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/framework.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/framework.py b/test/framework.py
index 789ec1be9b9..74cc7ff3a26 100644
--- a/test/framework.py
+++ b/test/framework.py
@@ -390,8 +390,8 @@ class VppTestCase(unittest.TestCase):
else:
hook = PollHook(cls)
cls.vapi.register_hook(hook)
- cls.statistics = VPPStats(socketname=cls.tempdir+'/stats.sock')
cls.sleep(0.1, "after vpp startup, before initial poll")
+ cls.statistics = VPPStats(socketname=cls.tempdir+'/stats.sock')
try:
hook.poll_vpp()
except VppDiedError: