Ensure only Upload/Download iperf tests run on buildkite.

The addition of the "Parameterized" version of iperf requires a filter
so that only the original tests run. Otherwise, we get test timeouts.

PiperOrigin-RevId: 506938451
This commit is contained in:
Zach Koopmans
2023-02-03 10:36:25 -08:00
committed by gVisor bot
parent 533d4435ff
commit 13c7e55e59
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -485,7 +485,7 @@ steps:
command: make -i benchmark-platforms BENCHMARKS_FILTER="Continuous" BENCHMARKS_SUITE=httpd BENCHMARKS_TARGETS=test/benchmarks/network:httpd_test
- <<: *benchmarks
label: ":piedpiper: iperf benchmarks"
command: make -i benchmark-platforms BENCHMARKS_SUITE=iperf BENCHMARKS_TARGETS=test/benchmarks/network:iperf_test
command: make -i benchmark-platforms BENCHMARKS_SUITE=iperf BENCHMARKS_TARGETS=test/benchmarks/network:iperf_test BENCHMARKS_FILTER=BenchmarkIperf$
- <<: *benchmarks
label: ":nginx: nginx benchmarks"
command: make -i benchmark-platforms BENCHMARKS_FILTER="Continuous" BENCHMARKS_SUITE=nginx BENCHMARKS_TARGETS=test/benchmarks/network:nginx_test
+2 -2
View File
@@ -72,7 +72,7 @@ func BenchmarkIperf(b *testing.B) {
client := bm.clientFunc(ctx, b)
defer client.CleanUp(ctx)
// iperf serves on port 5001 by default.
// iperf server listens on port 5001 by default.
port := 5001
// Start the server.
@@ -234,7 +234,7 @@ func BenchmarkIperfParameterized(b *testing.B) {
client := bm.clientFunc(ctx, b)
defer client.CleanUp(ctx)
// iperf serves on port 5001 by default.
// iperf server listens on port 5001 by default.
port := 5001
// Start the server.