Skip to content

Commit

Permalink
Marked all sockperf tests to be skipped
Browse files Browse the repository at this point in the history
  • Loading branch information
r-dailey committed Dec 12, 2024
1 parent 79d0a2a commit ca8927b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions microsoft/testsuites/performance/networkperf.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,8 @@ def perf_udp_iperf_sriov(self, result: TestResult) -> None:
udp_mode=True,
)

# All of the following test cases are using sockperf and it cannot be compiled
# natively on Freebsd so it is skipped.
@TestCaseMetadata(
description="""
This test case uses sockperf to test sriov network latency.
Expand All @@ -294,6 +296,7 @@ def perf_udp_iperf_sriov(self, result: TestResult) -> None:
requirement=simple_requirement(
min_count=2,
network_interface=Sriov(),
unsupported_os=[BSD, Windows],
),
)
def perf_sockperf_latency_tcp_sriov(self, result: TestResult) -> None:
Expand All @@ -307,6 +310,7 @@ def perf_sockperf_latency_tcp_sriov(self, result: TestResult) -> None:
requirement=simple_requirement(
min_count=2,
network_interface=Sriov(),
unsupported_os=[BSD, Windows],
),
)
def perf_sockperf_latency_udp_sriov(self, result: TestResult) -> None:
Expand All @@ -320,6 +324,7 @@ def perf_sockperf_latency_udp_sriov(self, result: TestResult) -> None:
requirement=simple_requirement(
min_count=2,
network_interface=Synthetic(),
unsupported_os=[BSD, Windows],
),
)
def perf_sockperf_latency_udp_synthetic(self, result: TestResult) -> None:
Expand All @@ -333,6 +338,7 @@ def perf_sockperf_latency_udp_synthetic(self, result: TestResult) -> None:
requirement=simple_requirement(
min_count=2,
network_interface=Synthetic(),
unsupported_os=[BSD, Windows],
),
)
def perf_sockperf_latency_tcp_synthetic(self, result: TestResult) -> None:
Expand All @@ -346,6 +352,7 @@ def perf_sockperf_latency_tcp_synthetic(self, result: TestResult) -> None:
requirement=simple_requirement(
min_count=2,
network_interface=Sriov(),
unsupported_os=[BSD, Windows],
),
)
def perf_sockperf_latency_tcp_sriov_busy_poll(self, result: TestResult) -> None:
Expand All @@ -364,6 +371,7 @@ def perf_sockperf_latency_tcp_sriov_busy_poll(self, result: TestResult) -> None:
requirement=simple_requirement(
min_count=2,
network_interface=Sriov(),
unsupported_os=[BSD, Windows],
),
)
def perf_sockperf_latency_udp_sriov_busy_poll(self, result: TestResult) -> None:
Expand All @@ -382,6 +390,7 @@ def perf_sockperf_latency_udp_sriov_busy_poll(self, result: TestResult) -> None:
requirement=simple_requirement(
min_count=2,
network_interface=Synthetic(),
unsupported_os=[BSD, Windows],
),
)
def perf_sockperf_latency_udp_synthetic_busy_poll(self, result: TestResult) -> None:
Expand All @@ -400,6 +409,7 @@ def perf_sockperf_latency_udp_synthetic_busy_poll(self, result: TestResult) -> N
requirement=simple_requirement(
min_count=2,
network_interface=Synthetic(),
unsupported_os=[BSD, Windows],
),
)
def perf_sockperf_latency_tcp_synthetic_busy_poll(self, result: TestResult) -> None:
Expand Down

0 comments on commit ca8927b

Please sign in to comment.