hornetq/hornetq — pull request #986 by gaohoward (2013-04-11 15:05:54+00:00)
Title: increase the waiting time for backup activation in case of replication mode.

From QuorumManager:

"This is a safety net in case the live sends the first ReplicationLiveIsStoppingMessage with code link LiveStopping#STOP_CALLED and crashes before sending the second with
LiveStopping#FAIL_OVER.

If the second message does come within this dead line, we fail over anyway."

This explains the usage of constant WAIT_TIME_AFTER_FIRST_LIVE_STOPPING_MSG (60 sec).

In tests if we wait for a backup to be activated with a timeout less than 60, and if the above case has happened, the wait will fail before the failover happens. So we need to make the wait timeout longer than 60.