From b5b91916a5b9c8c7df80b1774d65435f4848b9f9 Mon Sep 17 00:00:00 2001 From: Ioannis Kavvadias Date: Thu, 28 Nov 2024 16:08:40 +0000 Subject: [PATCH 1/4] model: bazelize timeout_adl test --- src/v/model/tests/BUILD | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src/v/model/tests/BUILD b/src/v/model/tests/BUILD index d122a1588c02b..8c3bbca3a96d3 100644 --- a/src/v/model/tests/BUILD +++ b/src/v/model/tests/BUILD @@ -74,6 +74,24 @@ redpanda_cc_btest( ], ) +redpanda_cc_btest( + name = "timeout_adl", + timeout = "short", + srcs = [ + "timeout_adl.cc", + ], + cpu = 1, + deps = [ + "//src/v/bytes:iobuf_parser", + "//src/v/model", + "//src/v/reflection:adl", + "//src/v/test_utils:seastar_boost", + "//src/v/utils:to_string", + "@boost//:test", + "@seastar", + ], +) + redpanda_cc_btest( name = "topic_view_test", timeout = "short", From 089c29fb882d4b9a38d5e474fd42e1ccd592c821 Mon Sep 17 00:00:00 2001 From: Ioannis Kavvadias Date: Thu, 28 Nov 2024 16:11:56 +0000 Subject: [PATCH 2/4] model: update cpu count for record_batch_reader_test in bazel --- src/v/model/tests/BUILD | 1 + 1 file changed, 1 insertion(+) diff --git a/src/v/model/tests/BUILD b/src/v/model/tests/BUILD index 8c3bbca3a96d3..7973f6c3599cf 100644 --- a/src/v/model/tests/BUILD +++ b/src/v/model/tests/BUILD @@ -114,6 +114,7 @@ redpanda_cc_btest( srcs = [ "record_batch_reader_test.cc", ], + cpu = 1, deps = [ ":random", "//src/v/model", From a910ef77b6bfb342c32948149dba3dc9c5630f23 Mon Sep 17 00:00:00 2001 From: Ioannis Kavvadias Date: Thu, 28 Nov 2024 17:57:09 +0000 Subject: [PATCH 3/4] model: bazelize record_batch_test --- src/v/model/tests/BUILD | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/v/model/tests/BUILD b/src/v/model/tests/BUILD index 7973f6c3599cf..cb75e8ec89b79 100644 --- a/src/v/model/tests/BUILD +++ b/src/v/model/tests/BUILD @@ -108,6 +108,22 @@ redpanda_cc_btest( ], ) +redpanda_cc_btest( + name = "record_batch_test", + timeout = "short", + srcs = [ + "record_batch_test.cc", + ], + cpu = 1, + deps = [ + ":random", + "//src/v/model", + "//src/v/test_utils:seastar_boost", + "@boost//:test", + "@seastar//:testing", + ], +) + redpanda_cc_btest( name = "record_batch_reader_test", timeout = "short", From 8b0cd96125cf191054d1ce78031d58ea0f2e21a9 Mon Sep 17 00:00:00 2001 From: Ioannis Kavvadias Date: Thu, 28 Nov 2024 17:59:59 +0000 Subject: [PATCH 4/4] model: bazelize model_serialization_test --- src/v/model/tests/BUILD | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/v/model/tests/BUILD b/src/v/model/tests/BUILD index cb75e8ec89b79..f1e2c80b46e41 100644 --- a/src/v/model/tests/BUILD +++ b/src/v/model/tests/BUILD @@ -124,6 +124,22 @@ redpanda_cc_btest( ], ) +redpanda_cc_btest( + name = "model_serialization_test", + timeout = "short", + srcs = [ + "model_serialization_test.cc", + ], + cpu = 1, + deps = [ + "//src/v/model", + "//src/v/test_utils:rpc", + "//src/v/test_utils:seastar_boost", + "@boost//:test", + "@seastar//:testing", + ], +) + redpanda_cc_btest( name = "record_batch_reader_test", timeout = "short",