[dts] [PATCH] fix vxlan invalid receive queue bug
Dong shijie
shijiex.dong at intel.com
Wed Nov 11 03:03:58 CET 2015
Signed-off-by: Dong shijie <shijiex.dong at intel.com>
---
tests/TestSuite_vxlan.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/TestSuite_vxlan.py b/tests/TestSuite_vxlan.py
index 91da7ca..5c994c8 100644
--- a/tests/TestSuite_vxlan.py
+++ b/tests/TestSuite_vxlan.py
@@ -599,10 +599,10 @@ class TestVxlan(TestCase, IxiaPacketGenerator):
out = self.dut.send_expect("start", "testpmd>", 10)
queue = -1
- pattern = re.compile("VNI = (\d) - Receive queue=0x(\d)")
+ pattern = re.compile("- Receive queue=0x(\d)")
m = pattern.search(out)
if m is not None:
- queue = m.group(2)
+ queue = m.group(1)
# verify received in expected queue
self.verify(queue_id == int(queue), "invalid receive queue")
--
1.8.1.4
More information about the dts
mailing list