summaryrefslogtreecommitdiffhomepage
path: root/test/benchmarks/network/iperf_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/benchmarks/network/iperf_test.go')
-rw-r--r--test/benchmarks/network/iperf_test.go9
1 files changed, 0 insertions, 9 deletions
diff --git a/test/benchmarks/network/iperf_test.go b/test/benchmarks/network/iperf_test.go
index 48cc9dd8f..664e0797e 100644
--- a/test/benchmarks/network/iperf_test.go
+++ b/test/benchmarks/network/iperf_test.go
@@ -16,7 +16,6 @@ package network
import (
"context"
"fmt"
- "os"
"regexp"
"strconv"
"strings"
@@ -26,8 +25,6 @@ import (
"gvisor.dev/gvisor/test/benchmarks/harness"
)
-var h harness.Harness
-
func BenchmarkIperf(b *testing.B) {
// Get two machines
@@ -144,10 +141,4 @@ TCP window size: 45.0 KByte (default)
if err != nil || bandwidth != 45900 {
t.Fatalf("failed with: %v and %f", err, bandwidth)
}
-
-}
-
-func TestMain(m *testing.M) {
- h.Init()
- os.Exit(m.Run())
}