aboutsummaryrefslogtreecommitdiffstats
path: root/test/hook.py
diff options
context:
space:
mode:
authorDave Wallace <dwallacelf@gmail.com>2022-09-20 21:52:18 -0400
committerDave Wallace <dwallacelf@gmail.com>2022-09-27 03:26:15 +0000
commit670724c51eccea6c622f047c546d15c894531ce3 (patch)
treecc9fa499e38d39920eb673595034a0e0b37e0e6a /test/hook.py
parentfe45f8f5afbf34d68cf992cc32b12432a82cdb38 (diff)
tests: disable failing tests on ubuntu-22.04 debian-11
Type: test Change-Id: I7b2314a731c83b3dcd69c999edb8ebed53839724 Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
Diffstat (limited to 'test/hook.py')
-rw-r--r--test/hook.py2
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