aboutsummaryrefslogtreecommitdiffstats
path: root/test/hook.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/hook.py')
-rw-r--r--test/hook.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/hook.py b/test/hook.py
index 58bbcaf9e7d..f9503fe79d5 100644
--- a/test/hook.py
+++ b/test/hook.py
@@ -5,7 +5,7 @@ import ipaddress
from subprocess import check_output, CalledProcessError
import scapy.compat
-import framework
+import asfframework
from config import config
from log import RED, single_line_delim, double_line_delim
from util import check_core_path, get_core_path
@@ -123,10 +123,10 @@ class PollHook(Hook):
self.test.vpp.poll()
if self.test.vpp.returncode is not None:
self.test.vpp_dead = True
- raise framework.VppDiedError(rv=self.test.vpp.returncode)
core_path = get_core_path(self.test.tempdir)
if os.path.isfile(core_path):
self.on_crash(core_path)
+ raise asfframework.VppDiedError(rv=self.test.vpp.returncode)
def before_api(self, api_name, api_args):
"""