From 024dd2a7251a5b1f0b71411a16aa8e41b6601403 Mon Sep 17 00:00:00 2001 From: Yaroslav Brustinov Date: Tue, 7 Feb 2017 09:22:08 +0200 Subject: Regression: stl ping/scan6 test fix Change-Id: Ie4d608681458ff190aab1c64b570e7f78decc0ea Signed-off-by: Yaroslav Brustinov --- scripts/automation/regression/stateless_tests/stl_ipv6_test.py | 5 +++-- 1 file 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 -- cgit 1.2.3-korg