Skip to content

Commit 6a54752

Browse files
committed
Find the rabbitmq.schema in the same way as other schemas
1 parent 6a13741 commit 6a54752

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/rabbit_ct_config_schema.erl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@
2222

2323
init_schemas(App, Config) ->
2424
DepsDir = ?config(erlang_mk_depsdir, Config),
25-
RabbitSchema = filename:join([DepsDir, "rabbit", "priv", "schema", "rabbitmq.schema"]),
25+
% Note: the schema for the rabbit app is named "rabbitmq.schema"
26+
RabbitSchema = find_app_schema(rabbitmq, DepsDir),
2627
Schemas = case App of
2728
rabbit -> [RabbitSchema];
2829
_ -> [RabbitSchema, find_app_schema(App, DepsDir)]

0 commit comments

Comments
 (0)