summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorsongyanchao <[email protected]>2023-04-10 10:04:13 +0000
committersongyanchao <[email protected]>2023-04-10 10:13:48 +0000
commit2e0b3e43488a6bea2b083979453233bfc6da8fa2 (patch)
treed76f8bd11b75b1f9e71a1201e4c3eca2d84dd1df /test
parent689ca9421f1b057eeff25e1f4a609b7087e298c1 (diff)
🎈 perf(DPISDN-7): dpdk 升级至 'dpdk-21.11.3'
dpdk 升级至 'dpdk-21.11.3'
Diffstat (limited to 'test')
-rw-r--r--test/demo_test.py2
-rw-r--r--test/mrzcpd.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/demo_test.py b/test/demo_test.py
index fd2bb6b..e99a26c 100644
--- a/test/demo_test.py
+++ b/test/demo_test.py
@@ -255,7 +255,7 @@ class TestSendAndReceive(BaseTest):
# Run test
def runTest(self):
# Init & Start mrzcpd
- mrzcpd = Mrzcpd(str(conf_demo))
+ mrzcpd = Mrzcpd(conf_demo)
mrzcpd.start()
# Create packet
diff --git a/test/mrzcpd.py b/test/mrzcpd.py
index d0d8cce..dbb2455 100644
--- a/test/mrzcpd.py
+++ b/test/mrzcpd.py
@@ -11,7 +11,7 @@ mrzcpd_run_dir = "/var/run/mrzcpd"
class Mrzcpd:
def __init__(self, conf):
- self.conf = conf
+ self.conf = str(conf)
self.mrzcpd_path = ptf.testutils.test_param_get(
"source_dir") + "/build/service/mrzcpd"
self.conf_path = ptf.testutils.test_param_get(