Comment 9 for bug 1464637

Revision history for this message
Bogdan Dobrelya (bogdando) wrote :

The test case:
1) For a running rabbit resource master node-X, issue demote and stop actions as:

a) "OCF_ROOT=/usr/lib/ocf /usr/lib/ocf/resource.d/rabbitmq/rabbitmq-server-ha demote"

- It is expected to get log records to the console like these below, and in the following order:

demote: action begin
demote: waiting.*to sync
demote: Execute stop_app with timeout
demote: action end

b) next run
"OCF_ROOT=/usr/lib/ocf /usr/lib/ocf/resource.d/rabbitmq/rabbitmq-server-ha stop"

- It is expected to get log records to the console like these below, and in the following order:

stop: action begin
stop: waiting.*to sync
stop_server_process(): Execute stop with timeout
stop: action end