diff options
author | Zach Koopmans <zkoopmans@google.com> | 2020-08-04 16:48:40 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-08-04 16:51:04 -0700 |
commit | be7079578e0907fd3f35f91e9716246c179e17e9 (patch) | |
tree | 7e9f5f77f97f5350a4e5e75988cf7ca042f43c1d /test/benchmarks/base/BUILD | |
parent | 0ba702bd6ca36b959d153976c7bbf7c914f4f8c9 (diff) |
Port sysbench benchmark.
PiperOrigin-RevId: 324918229
Diffstat (limited to 'test/benchmarks/base/BUILD')
-rw-r--r-- | test/benchmarks/base/BUILD | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/test/benchmarks/base/BUILD b/test/benchmarks/base/BUILD new file mode 100644 index 000000000..3cb07797d --- /dev/null +++ b/test/benchmarks/base/BUILD @@ -0,0 +1,26 @@ +load("//tools:defs.bzl", "go_library", "go_test") + +package(licenses = ["notice"]) + +go_library( + name = "base", + testonly = 1, + srcs = ["base.go"], + deps = ["//test/benchmarks/harness"], +) + +go_test( + name = "base_test", + size = "small", + srcs = ["sysbench_test.go"], + library = ":base", + tags = [ + # Requires docker and runsc to be configured before test runs. + "manual", + "local", + ], + deps = [ + "//pkg/test/dockerutil", + "//test/benchmarks/tools", + ], +) |