Tsz Wo Nicholas Sze created RATIS-494:
-----------------------------------------
Summary: Throw AssumptionViolatedException if a test fails to
change leader
Key: RATIS-494
URL: https://issues.apache.org/jira/browse/RATIS-494
Project: Ratis
Issue Type: Bug
Components: test
Reporter: Tsz Wo Nicholas Sze
Assignee: Tsz Wo Nicholas Sze
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.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)