Skip to content

Commit

Permalink
Merge pull request redpanda-data#24366 from IoannisRP/ik-bazel-tests-…
Browse files Browse the repository at this point in the history
…model

model: bazelize some tests
  • Loading branch information
IoannisRP authored Dec 2, 2024
2 parents ffed0cf + 8b0cd96 commit 60f864d
Showing 1 changed file with 51 additions and 0 deletions.
51 changes: 51 additions & 0 deletions src/v/model/tests/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -90,12 +108,45 @@ 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 = "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",
srcs = [
"record_batch_reader_test.cc",
],
cpu = 1,
deps = [
":random",
"//src/v/model",
Expand Down

0 comments on commit 60f864d

Please sign in to comment.