Skip to content

Commit

Permalink
Skip bandwidth tests
Browse files Browse the repository at this point in the history
  • Loading branch information
krichardsson committed Nov 14, 2023
1 parent acb13ae commit 41b12df
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions tests/QA/test_radio.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,20 +37,18 @@ def test_latency_big_packets(self, dev: conftest.BCDevice):
requirement = conftest.get_requirement('radio.latencybig')
assert(latency(dev.link_uri, requirement['packet_size']) < requirement['limit_high_ms'])

@pytest.mark.skip(reason='This test does not pass reliably. We need flow control between nrf and stm32')
def test_bandwidth_small_packets(self, dev: conftest.BCDevice):
requirement = conftest.get_requirement('radio.bwsmall')
assert(bandwidth(dev.link_uri, requirement['packet_size']) > requirement['limit_low'])

@pytest.mark.skip(reason='This test does not pass reliably. We need flow control between nrf and stm32')
def test_bandwidth_big_packets(self, dev: conftest.BCDevice):
requirement = conftest.get_requirement('radio.bwbig')
assert(bandwidth(dev.link_uri, requirement['packet_size']) > requirement['limit_low'])

@pytest.mark.skip(reason='This test does not pass reliably. We need flow control between nrf and stm32')
def test_reliability(self, dev: conftest.BCDevice):
'''
This test does not pass reliably. We need flow control between nrf
and stm32.
'''
pytest.skip('need flow control')
requirement = conftest.get_requirement('radio.reliability')
# The bandwidth function will assert if there is any packet loss
bandwidth(dev.link_uri, 4, requirement['limit_low'])
Expand Down

0 comments on commit 41b12df

Please sign in to comment.