test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1]tests/l3fwd: correct spelling errors
@ 2019-09-04 14:00 hanyingya
  2019-09-20  6:56 ` Tu, Lijuan
  2019-09-20  6:57 ` Chen, Zhaoyan
  0 siblings, 2 replies; 3+ messages in thread
From: hanyingya @ 2019-09-04 14:00 UTC (permalink / raw)
  To: dts; +Cc: hanyingya

Signed-off-by: hanyingya <yingyax.han@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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-09-20  6:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-04 14:00 [dts] [PATCH V1]tests/l3fwd: correct spelling errors hanyingya
2019-09-20  6:56 ` Tu, Lijuan
2019-09-20  6:57 ` Chen, Zhaoyan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).