summaryrefslogtreecommitdiffhomepage
path: root/test/benchmarks/database/BUILD
diff options
context:
space:
mode:
authorZach Koopmans <zkoopmans@google.com>2020-07-27 10:00:17 -0700
committergVisor bot <gvisor-bot@google.com>2020-07-27 10:01:45 -0700
commit29e5609b228363bcc435a8828f9b6ee19018a525 (patch)
tree162f58ec666b25bffe212f85754ff443c70ace63 /test/benchmarks/database/BUILD
parentcf7141fb43d9b6757c6838baa71e2edfee339d44 (diff)
Port redis benchmark
PiperOrigin-RevId: 323381964
Diffstat (limited to 'test/benchmarks/database/BUILD')
-rw-r--r--test/benchmarks/database/BUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/test/benchmarks/database/BUILD b/test/benchmarks/database/BUILD
new file mode 100644
index 000000000..5e33465cd
--- /dev/null
+++ b/test/benchmarks/database/BUILD
@@ -0,0 +1,28 @@
+load("//tools:defs.bzl", "go_library", "go_test")
+
+package(licenses = ["notice"])
+
+go_library(
+ name = "database",
+ testonly = 1,
+ srcs = ["database.go"],
+ deps = ["//test/benchmarks/harness"],
+)
+
+go_test(
+ name = "database_test",
+ size = "enormous",
+ srcs = [
+ "redis_test.go",
+ ],
+ library = ":database",
+ tags = [
+ # Requires docker and runsc to be configured before test runs.
+ "manual",
+ "local",
+ ],
+ deps = [
+ "//pkg/test/dockerutil",
+ "//test/benchmarks/harness",
+ ],
+)