diff options
author | 2016-05-10 09:38:53 +0300 | |
---|---|---|
committer | 2016-05-10 09:38:53 +0300 | |
commit | 79d632c3f2fce07dede708bf36b47d1ad78386dd (patch) | |
tree | 0ea827805702a938002adc500aeb3588f4786d2d /scripts/automation/regression | |
parent | 38369dfc189a84a5e99d8a0d1c18276192995c69 (diff) |
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
Diffstat (limited to 'scripts/automation/regression')
-rw-r--r-- | scripts/automation/regression/stateless_tests/stl_client_test.py | 6 |
1 files changed, 0 insertions, 6 deletions
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() |