[dts] [PATCH] tests_ftag: fix expected output time when striping port glort ID
Liu, Yong
yong.liu at intel.com
Tue Aug 16 08:17:45 CEST 2016
Hi Qin, your patch hasn't been merged, so you need to send out patch with all the changes.
> -----Original Message-----
> From: xueqin.lin [mailto:xlin15 at ecsmtp.sh.intel.com]
> Sent: Tuesday, August 16, 2016 2:13 PM
> To: Liu, Yong; dts at dpdk.org
> Cc: Lin, Xueqin
> Subject: [dts][PATCH] tests_ftag: fix expected output time when striping
> port glort ID
>
> From: Xueqin Lin <xueqin.lin at intel.com>
>
> It is impossible to wait some long time for expected output, just fix as
> default value.
>
>
> diff --git a/nics/rrc.py b/nics/rrc.py
> index 62dc8d2..a6ac175 100644
> --- a/nics/rrc.py
> +++ b/nics/rrc.py
> @@ -259,7 +259,7 @@ class RedRockCanyou(NetDevice):
> return None
> else:
> port_value = res.group(2)
> - out = self.ctrl_crb.send_expect("show stacking logical-port all",
> "<0>%",10000)
> + out = self.ctrl_crb.send_expect("show stacking logical-port all",
> "<0>%")
> pattern = r"([0-9a-z]{6})+(\s)+(%s)+" %port_value
> s = re.compile(pattern)
> res = s.search(out)
> --
> 2.5.5
More information about the dts
mailing list