From 79d632c3f2fce07dede708bf36b47d1ad78386dd Mon Sep 17 00:00:00 2001 From: imarom Date: Tue, 10 May 2016 09:38:53 +0300 Subject: test should not check for a state of port when TX a burst. there can be a race between the test and the async message from the server when done --- scripts/automation/regression/stateless_tests/stl_client_test.py | 6 ------ 1 file changed, 6 deletions(-) (limited to 'scripts/automation/regression') diff --git a/scripts/automation/regression/stateless_tests/stl_client_test.py b/scripts/automation/regression/stateless_tests/stl_client_test.py index e7c9bb5d..10f56b3f 100644 --- a/scripts/automation/regression/stateless_tests/stl_client_test.py +++ b/scripts/automation/regression/stateless_tests/stl_client_test.py @@ -84,9 +84,6 @@ class STLClient_Test(CStlGeneral_Test): self.c.clear_stats() self.c.start(ports = [self.tx_port, self.rx_port]) - assert self.c.ports[self.tx_port].is_transmitting(), 'port should be active' - assert self.c.ports[self.rx_port].is_transmitting(), 'port should be active' - self.c.wait_on_traffic(ports = [self.tx_port, self.rx_port]) stats = self.c.get_stats() @@ -124,9 +121,6 @@ class STLClient_Test(CStlGeneral_Test): self.c.clear_stats() self.c.start(ports = [self.tx_port, self.rx_port]) - assert self.c.ports[self.tx_port].is_transmitting(), 'port should be active' - assert self.c.ports[self.rx_port].is_transmitting(), 'port should be active' - self.c.wait_on_traffic(ports = [self.tx_port, self.rx_port]) stats = self.c.get_stats() -- cgit