From ff63e0cc2a26d391e63ccced3eadd45da5976172 Mon Sep 17 00:00:00 2001 From: Oren Leiman Date: Mon, 18 Nov 2024 20:51:34 -0800 Subject: [PATCH] sec: bazelize role_sore_bench Signed-off-by: Oren Leiman --- src/v/security/tests/BUILD | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/src/v/security/tests/BUILD b/src/v/security/tests/BUILD index f600db1a14cba..895f830a48a2d 100644 --- a/src/v/security/tests/BUILD +++ b/src/v/security/tests/BUILD @@ -1,4 +1,4 @@ -load("//bazel:test.bzl", "redpanda_cc_btest", "redpanda_test_cc_library") +load("//bazel:test.bzl", "redpanda_cc_bench", "redpanda_cc_btest", "redpanda_test_cc_library") redpanda_test_cc_library( name = "utils", @@ -198,3 +198,19 @@ redpanda_cc_btest( "@seastar//:testing", ], ) + +redpanda_cc_bench( + name = "role_store_bench", + timeout = "moderate", + srcs = [ + "role_store_bench.cc", + ], + deps = [ + "//src/v/config", + "//src/v/random:generators", + "//src/v/security", + "@boost//:range", + "@seastar", + "@seastar//:benchmark", + ], +)