X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=test%2Fhook.py;h=90e9bbf56b0d6019efff9287d78dba227ea122f6;hb=397fd7d39f023887e428de37a1929c366a99b8d5;hp=f81e5187d007d7ff8aec153fc2acbc9fbb599357;hpb=01bbbe91faac7f70abab389c56bb016af086073f;p=vpp.git diff --git a/test/hook.py b/test/hook.py index f81e5187d00..90e9bbf56b0 100644 --- a/test/hook.py +++ b/test/hook.py @@ -57,7 +57,6 @@ class PollHook(Hook): """ Hook which checks if the vpp subprocess is alive """ def __init__(self, testcase): - self.vpp_dead = False self.testcase = testcase self.logger = testcase.logger @@ -92,7 +91,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.vpp_dead: + if self.testcase.vpp_dead: # already dead, nothing to do return