summaryrefslogtreecommitdiffhomepage
path: root/test/benchmarks/base/base.go
diff options
context:
space:
mode:
authorZach Koopmans <zkoopmans@google.com>2020-08-07 13:28:11 -0700
committergVisor bot <gvisor-bot@google.com>2020-08-07 13:30:39 -0700
commita7bd0a701289f8d808f93eaded266f6a1bab03ea (patch)
tree939681b7f4561d07b33a7179094a929b5fb261a0 /test/benchmarks/base/base.go
parent10c13bccaf5ec963b78f5e61629b4528ed9e9c6b (diff)
Port Startup and Density Benchmarks.
PiperOrigin-RevId: 325497346
Diffstat (limited to 'test/benchmarks/base/base.go')
-rw-r--r--test/benchmarks/base/base.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/benchmarks/base/base.go b/test/benchmarks/base/base.go
index 7eb44d0ab..7bac52ff1 100644
--- a/test/benchmarks/base/base.go
+++ b/test/benchmarks/base/base.go
@@ -22,10 +22,10 @@ import (
"gvisor.dev/gvisor/test/benchmarks/harness"
)
-var h harness.Harness
+var testHarness harness.Harness
// TestMain is the main method for package network.
func TestMain(m *testing.M) {
- h.Init()
+ testHarness.Init()
os.Exit(m.Run())
}