[dts] [PATCH V1] update TestSuite_vf_jumboframe reduce runtime
Tu, Lijuan
lijuan.tu at intel.com
Wed Jun 5 07:24:20 CEST 2019
Applied, thanks
> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of zhang,yan
> Sent: Tuesday, June 4, 2019 2:50 PM
> To: dts at dpdk.org
> Cc: Zhang, YanX A <yanx.a.zhang at intel.com>
> Subject: [dts] [PATCH V1] update TestSuite_vf_jumboframe reduce runtime
>
> Change code structure to reduce runtime
>
> Signed-off-by: zhang,yan <yanx.a.zhang at intel.com>
> ---
> tests/TestSuite_vf_jumboframe.py | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/tests/TestSuite_vf_jumboframe.py
> b/tests/TestSuite_vf_jumboframe.py
> index dc16479..f082cec 100644
> --- a/tests/TestSuite_vf_jumboframe.py
> +++ b/tests/TestSuite_vf_jumboframe.py
> @@ -50,9 +50,10 @@ class TestVfJumboFrame(TestCase):
> self.netobj = self.tester.ports_info[tester_port]['port']
> self.netobj.enable_jumbo(framesize=ETHER_JUMBO_FRAME_MTU +
> 100)
>
> + self.setup_vm_env()
>
> def set_up(self):
> - self.setup_vm_env()
> + pass
>
> def bind_nic_driver(self, ports, driver=""):
> # modprobe vfio driver
> @@ -321,7 +322,7 @@ class TestVfJumboFrame(TestCase):
> """
> Run after each test case.
> """
> - self.destroy_vm_env()
> + pass
>
> def tear_down_all(self):
> """
> --
> 2.17.2
More information about the dts
mailing list