diff --git a/deps/rabbit/BUILD.bazel b/deps/rabbit/BUILD.bazel index 90bdf6857bef..1ea9094775b3 100644 --- a/deps/rabbit/BUILD.bazel +++ b/deps/rabbit/BUILD.bazel @@ -1362,6 +1362,7 @@ eunit( ":test_test_rabbit_event_handler_beam", ":test_clustering_utils_beam", ":test_event_recorder_beam", + ":test_rabbit_ct_hook_beam", ], target = ":test_erlang_app", test_env = { diff --git a/deps/rabbit/app.bzl b/deps/rabbit/app.bzl index 2d82691edef7..7983a2201944 100644 --- a/deps/rabbit/app.bzl +++ b/deps/rabbit/app.bzl @@ -2174,3 +2174,11 @@ def test_suite_beam_files(name = "test_suite_beam_files"): erlc_opts = "//:test_erlc_opts", deps = ["//deps/amqp_client:erlang_app"], ) + erlang_bytecode( + name = "test_rabbit_ct_hook_beam", + testonly = True, + srcs = ["test/rabbit_ct_hook.erl"], + outs = ["test/rabbit_ct_hook.beam"], + app_name = "rabbit", + erlc_opts = "//:test_erlc_opts", + )