Skip to content

Commit

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

# Marked all following tests to skip on BSD since
# sockperf compilation is not natively supported at this time
# This is due to the default compiler on freebsd being c++17
# and sockperf is designed to compile on c+11 which is no longer available
# This is a way to compile it but it requires adding a patch file
# to the sockperf repo to remove references to std::unary and std::binary
@TestCaseMetadata(
description="""
This test case uses sockperf to test sriov network latency.
Expand All @@ -294,6 +300,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 +314,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 +328,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 +342,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 +356,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 +375,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 +394,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 +413,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 466ca3b

Please sign in to comment.