Skip to content

Commit

Permalink
Use an existing host type in a test requiring hooks
Browse files Browse the repository at this point in the history
Hooks are instrumented, and instrumentation needs a real host type

Btw, using host types that are not configured could cause issues in
the future, but fixing this would require a lot of changes.
  • Loading branch information
chrzaszcz committed Jun 3, 2024
1 parent 23a899d commit 0acb72c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion big_tests/tests/service_domain_db_SUITE.erl
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ end_per_group(_GroupName, Config) ->
end.

init_per_testcase(rest_cannot_enable_deleting, Config) ->
HostType = <<"type1">>,
HostType = dummy_auth_host_type(),
Server = start_domain_removal_hook(HostType),
init_per_testcase(generic, [{server, Server}, {host_type, HostType} | Config]);
init_per_testcase(db_crash_on_initial_load_restarts_service, Config) ->
Expand Down

0 comments on commit 0acb72c

Please sign in to comment.