summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYaroslav Brustinov <ybrustin@cisco.com>2017-02-07 09:22:08 +0200
committerYaroslav Brustinov <ybrustin@cisco.com>2017-02-07 09:22:08 +0200
commit024dd2a7251a5b1f0b71411a16aa8e41b6601403 (patch)
tree6e2ca5f0acbf86e061f14e52e579b4aed1a53520
parentdf1e9dba223530013f851287a3a3a85abd076727 (diff)
Regression: stl ping/scan6 test fix
Change-Id: Ie4d608681458ff190aab1c64b570e7f78decc0ea Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
-rwxr-xr-xscripts/automation/regression/stateless_tests/stl_ipv6_test.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/automation/regression/stateless_tests/stl_ipv6_test.py b/scripts/automation/regression/stateless_tests/stl_ipv6_test.py
index c56c9b5d..b8173db5 100755
--- a/scripts/automation/regression/stateless_tests/stl_ipv6_test.py
+++ b/scripts/automation/regression/stateless_tests/stl_ipv6_test.py
@@ -9,12 +9,13 @@ class STLIPv6_Test(CStlGeneral_Test):
CStlGeneral_Test.setUp(self)
print('')
self.stl_trex.set_service_mode(ports = [0])
+ self.stl_trex.reset()
def tearDown(self):
CStlGeneral_Test.tearDown(self)
self.stl_trex.set_service_mode(ports = [0], enabled = False)
- def test_ipv6_ping(self):
+ def test_stl_ipv6_ping(self):
ping_count = 5
expected_replies = 4 # allow one loss
results = self.stl_trex.ping_ip(src_port = 0, dst_ip = 'ff02::1', count = ping_count)
@@ -40,7 +41,7 @@ class STLIPv6_Test(CStlGeneral_Test):
else:
print('Got no replies from unknown IPv6 as expected.')
- def test_ipv6_scan6(self):
+ def test_stl_ipv6_scan6(self):
results = self.stl_trex.scan6(ports = 0)
if self.is_loopback:
# negative test, loopback