Excerpt |
---|
Tests that the varios mechanisms for avoiding single point of failures works correctly. |
Message bus failover test
Prerequisites: The system is running with 2 networked networked brokers and the client has been configured to use failover between the brokers.
- Start a operation, and stop the primary broker. Confirm that the client and pillars failsover to the secondary broker and finishes the operation here.
- Start the primary message bus up again.
- Start a operation, and stop the secondary broker. Confirm that the client and pillars failsover back to the primary broker and finishes the operation here.
Missing pillar
- Shutdown one of the pillars.
- Configure the client to have a reasonable short time out for identifies and conversations (1 minute),
- Run through all the steps described in the Sanity test and confirm the system still works correctly (but somewhat slower, as every operation has to wait for the operation timeouts).