[dts] [PATCH V1]tests/l3fwd: correct spelling errors

hanyingya yingyax.han at intel.com
Wed Sep 4 16:00:12 CEST 2019


Signed-off-by: hanyingya <yingyax.han at intel.com>
---
 tests/TestSuite_l3fwd.py    | 6 +++---
 tests/TestSuite_vf_l3fwd.py | 4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/tests/TestSuite_l3fwd.py b/tests/TestSuite_l3fwd.py
index afac1c8..359ecfd 100644
--- a/tests/TestSuite_l3fwd.py
+++ b/tests/TestSuite_l3fwd.py
@@ -278,7 +278,7 @@ class TestL3fwd(TestCase):
                 cnt += 1
         return pcaps
 
-    def prepare_steam(self, pcaps):
+    def prepare_stream(self, pcaps):
         """
         create streams for ports, one port one stream
         """
@@ -322,7 +322,7 @@ class TestL3fwd(TestCase):
                 # crete traffic flow
                 pcaps = self.create_pcap_file(frame_size, l3_proto)
                 # send the traffic and Measure test
-                tgenInput = self.prepare_steam(pcaps)
+                tgenInput = self.prepare_stream(pcaps)
 
                 vm_config = self.set_fields()
                 # clear streams before add new streams
@@ -376,7 +376,7 @@ class TestL3fwd(TestCase):
                     # crete traffic flow
                     pcaps = self.create_pcap_file(frame_size, l3_proto)
                     # send the traffic and Measure test
-                    tgenInput = self.prepare_steam(pcaps)
+                    tgenInput = self.prepare_stream(pcaps)
 
                     vm_config = self.set_fields()
                     # clear streams before add new streams
diff --git a/tests/TestSuite_vf_l3fwd.py b/tests/TestSuite_vf_l3fwd.py
index cf16dec..78b24c9 100644
--- a/tests/TestSuite_vf_l3fwd.py
+++ b/tests/TestSuite_vf_l3fwd.py
@@ -200,7 +200,7 @@ class TestVfL3fwd(TestCase):
                 cnt += 1
         return pcaps
 
-    def prepare_steam(self, pcaps):
+    def prepare_stream(self, pcaps):
         """
         create streams for ports,one port one stream
         """
@@ -235,7 +235,7 @@ class TestVfL3fwd(TestCase):
                     cmdline = cmdline + " --max-pkt-len %d" % frame_size
                 l3fwd_session.send_expect(cmdline, "L3FWD:", 120)
                 # send the traffic and Measure test
-                tgenInput = self.prepare_steam(pcaps)
+                tgenInput = self.prepare_stream(pcaps)
 
                 vm_config = self.set_fields()
                 # clear streams before add new streams
-- 
2.17.1



More information about the dts mailing list