From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 213B193A4 for ; Fri, 13 Nov 2015 10:13:20 +0100 (CET) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga101.fm.intel.com with ESMTP; 13 Nov 2015 01:13:20 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,286,1444719600"; d="scan'208";a="850226261" Received: from stv-crb-56.sh.intel.com (HELO [10.239.128.116]) ([10.239.128.116]) by fmsmga002.fm.intel.com with ESMTP; 13 Nov 2015 01:13:19 -0800 Message-ID: <5645AA04.2090407@intel.com> Date: Fri, 13 Nov 2015 17:14:44 +0800 From: "Liu, Yong" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Lijuan Tu , dts@dpdk.org References: <1447396812-3365-1-git-send-email-lijuanx.a.tu@intel.com> In-Reply-To: <1447396812-3365-1-git-send-email-lijuanx.a.tu@intel.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [dts] [PATCH]test_ping: remove tester ip after finish test 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: Fri, 13 Nov 2015 09:13:21 -0000 Applied. Thanks. On 11/13/2015 02:40 PM, Lijuan Tu wrote: > From: lijuan tu > > testers have the same IP on the one machine will cause ip conflict > > Signed-off-by: lijuan tu > --- > tests/TestSuite_kni.py | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/tests/TestSuite_kni.py b/tests/TestSuite_kni.py > index 10e922f..69a20fe 100644 > --- a/tests/TestSuite_kni.py > +++ b/tests/TestSuite_kni.py > @@ -594,6 +594,9 @@ class TestKni(TestCase): > (virtual_interface, ''.join(ipv6list)), "# ", 10) > self.verify( > "0 received, 100% packet loss" in out, "ping6 not supported") > + # remove ip from tester > + self.tester.send_expect( > + "ip addr del 192.168.%d.2 dev %s" % (port, tx_interface), "# ") > > for port in self.config['ports']: > tx_port = self.tester.get_local_port(port)