Disable statschannel RTT tests on FreeBSD

These tests rely on somewhat precise timing, as they test that answers
arrive in a particular latency bucket within the statschannel stats.
These tests are affected by various timing and network issues on our
FreeBSD CI runners and the results are very unstable. Skip these on
FreeBSD entirely.
This commit is contained in:
Nicki Křížek 2026-03-10 13:35:56 +01:00
parent b8f19c6ce8
commit 495be0bb9e
2 changed files with 2 additions and 0 deletions

View file

@ -135,6 +135,7 @@ def test_traffic_json(statsport):
generic.test_traffic(fetch_traffic_json, statsip="10.53.0.2", statsport=statsport)
@pytest.mark.skipif(isctest.mark.is_host_freebsd(), reason="unstable on FreeBSD")
@pytest.mark.flaky(max_runs=2)
def test_rtt_json(statsport):
generic.test_rtt(fetch_rtt_json, statsip="10.53.0.4", statsport=statsport)

View file

@ -181,6 +181,7 @@ def test_traffic_xml(statsport):
generic.test_traffic(fetch_traffic_xml, statsip="10.53.0.2", statsport=statsport)
@pytest.mark.skipif(isctest.mark.is_host_freebsd(), reason="unstable on FreeBSD")
@pytest.mark.flaky(max_runs=2)
def test_rtt_xml(statsport):
generic.test_rtt(fetch_rtt_xml, statsip="10.53.0.4", statsport=statsport)