summaryrefslogtreecommitdiffhomepage
path: root/test/benchmarks/base/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'test/benchmarks/base/BUILD')
-rw-r--r--test/benchmarks/base/BUILD40
1 files changed, 29 insertions, 11 deletions
diff --git a/test/benchmarks/base/BUILD b/test/benchmarks/base/BUILD
index 7dfd4b693..b4b55317b 100644
--- a/test/benchmarks/base/BUILD
+++ b/test/benchmarks/base/BUILD
@@ -8,23 +8,41 @@ go_library(
srcs = [
"base.go",
],
- deps = ["//test/benchmarks/harness"],
+ deps = [
+ "//pkg/test/dockerutil",
+ "//test/benchmarks/harness",
+ ],
)
go_test(
- name = "base_test",
+ name = "startup_test",
size = "enormous",
- srcs = [
- "size_test.go",
- "startup_test.go",
- "sysbench_test.go",
+ srcs = ["startup_test.go"],
+ visibility = ["//:sandbox"],
+ deps = [
+ "//pkg/test/dockerutil",
+ "//test/benchmarks/base",
+ "//test/benchmarks/harness",
],
- library = ":base",
- tags = [
- # Requires docker and runsc to be configured before test runs.
- "manual",
- "local",
+)
+
+go_test(
+ name = "size_test",
+ size = "enormous",
+ srcs = ["size_test.go"],
+ visibility = ["//:sandbox"],
+ deps = [
+ "//pkg/test/dockerutil",
+ "//test/benchmarks/base",
+ "//test/benchmarks/harness",
+ "//test/benchmarks/tools",
],
+)
+
+go_test(
+ name = "sysbench_test",
+ size = "enormous",
+ srcs = ["sysbench_test.go"],
visibility = ["//:sandbox"],
deps = [
"//pkg/test/dockerutil",