From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id DC4938DB5 for ; Wed, 11 Nov 2015 03:08:29 +0100 (CET) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga102.jf.intel.com with ESMTP; 10 Nov 2015 18:08:28 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,273,1444719600"; d="scan'208";a="682648215" Received: from unknown (HELO dpdk-fedora20.icx.intel.com) ([10.238.55.12]) by orsmga003.jf.intel.com with ESMTP; 10 Nov 2015 18:08:27 -0800 From: Dong shijie To: dts@dpdk.org Date: Wed, 11 Nov 2015 10:03:58 +0800 Message-Id: <1447207438-14842-1-git-send-email-shijiex.dong@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [dts] [PATCH] fix vxlan invalid receive queue bug X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Nov 2015 02:08:30 -0000 Signed-off-by: Dong shijie --- 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