diff options
Diffstat (limited to 'test/hook.py')
-rw-r--r-- | test/hook.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/hook.py b/test/hook.py index 3429bdad1fe..58bbcaf9e7d 100644 --- a/test/hook.py +++ b/test/hook.py @@ -116,7 +116,7 @@ class PollHook(Hook): Poll the vpp status and throw an exception if it's not running :raises VppDiedError: exception if VPP is not running anymore """ - if self.test.vpp_dead: + if not hasattr(self.test, "vpp") or self.test.vpp_dead: # already dead, nothing to do return |