rabbitmq / rabbitmq-common

Common library used by rabbitmq-server and rabbitmq-erlang-client
Other
66 stars 112 forks source link

Port ensure_all_started and modify to use RestartTypes map #231

Closed lukebakken closed 7 years ago

lukebakken commented 7 years ago

In commit faf1603afe6b47feee9cf02cb4a2054f844956eb @dumbbell noted that the changes ported from stable do not specify a transient restart type for the rabbit application.

This PR ensures that an application is started with the specified restart type as well as starts its dependencies.

lukebakken commented 7 years ago

@dumbbell - for whatever reason, the test you mention never failed for me 🤷‍♂️ I ran it via the following command:

make ct-clustering_management t=unclustered:cluster_size_2:erlang_config

Trimmed output:

TEST INFO: 1 test(s), 1 case(s) in 1 suite(s)

== clustering_management_SUITE ==

  * [unclustered]
  * [unclustered]

    * [cluster_size_2]
    * [cluster_size_2]
      erlang_config
      erlang_config
      erlang_config
      erlang_config (01:01.526)
    * [cluster_size_2]
    * [cluster_size_2]
  * [unclustered]
  * [unclustered]
== clustering_management_SUITE ==