Description
In some (unlucky) cases, tests may fail to change leader which leads to a failure. Testing leader change is not an objective of the particular tests. When leader change fails, these tests becomes meaningless.
We may throw AssumptionViolatedException (new in junit 4.12) so that failing to change leader won't generate a test case failure.