Skip to content

Commit a591ff5

Browse files
Make bazel test run succesfully
1 parent d8451f3 commit a591ff5

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

deps/rabbitmq_local_exchange/BUILD.bazel

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,16 @@ load("@rules_erlang//:xref2.bzl", "xref")
22
load("@rules_erlang//:dialyze.bzl", "dialyze", "plt")
33
load("@rules_erlang//:eunit2.bzl", "eunit")
44
load(":app.bzl", "all_beam_files", "all_srcs", "all_test_beam_files", "test_suite_beam_files")
5-
load("//:rabbitmq.bzl", "assert_suites", "rabbitmq_app")
5+
load(
6+
"//:rabbitmq.bzl",
7+
"BROKER_VERSION_REQUIREMENTS_ANY",
8+
"RABBITMQ_DIALYZER_OPTS",
9+
"assert_suites",
10+
"broker_for_integration_suites",
11+
"rabbitmq_app",
12+
"rabbitmq_integration_suite",
13+
"rabbitmq_suite",
14+
)
615

716
all_srcs(name = "all_srcs")
817

@@ -17,6 +26,8 @@ rabbitmq_app(
1726
srcs = [":all_srcs"],
1827
hdrs = [":public_hdrs"],
1928
app_name = "rabbitmq_local_exchange",
29+
app_description = "Local Exchange type",
30+
app_extra_keys = BROKER_VERSION_REQUIREMENTS_ANY,
2031
beam_files = [":beam_files"],
2132
license_files = [":license_files"],
2233
priv = [":priv"],
@@ -54,4 +65,10 @@ eunit(
5465
target = ":test_erlang_app",
5566
)
5667

68+
broker_for_integration_suites()
69+
70+
rabbitmq_integration_suite(
71+
name = "rabbit_local_exchange_SUITE"
72+
)
73+
5774
assert_suites()

rabbitmq.bzl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ ALL_PLUGINS = [
8181
"//deps/rabbitmq_web_mqtt_examples:erlang_app",
8282
"//deps/rabbitmq_web_stomp:erlang_app",
8383
"//deps/rabbitmq_web_stomp_examples:erlang_app",
84+
"//deps/rabbitmq_local_exchange:erlang_app",
8485
]
8586

8687
LABELS_WITH_TEST_VERSIONS = [

0 commit comments

Comments
 (0)