Skip to content

Commit f59e9ba

Browse files
authored
Merge pull request #10 from rabbitmq/rabbitmq-ct-helpers-find-rabbitmq-schema
Find the rabbitmq.schema in the same way as other schemas
2 parents 6a13741 + 6a54752 commit f59e9ba

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)