Unmute CoordinatorTests.testDiscoveryUsesNodesFromLastClusterState() (#39452)

This commit unmutes the test and comments out the
offending call to linearizabilityChecker.isLinearizable() as suggested
in #39437
This commit is contained in:
Tanguy Leroux 2019-02-27 20:36:59 +01:00
parent ad8228aec9
commit 4dd274b51d
1 changed files with 2 additions and 1 deletions

View File

@ -1442,7 +1442,8 @@ public class CoordinatorTests extends ESTestCase {
leader.improveConfiguration(lastAcceptedState), sameInstance(lastAcceptedState)); leader.improveConfiguration(lastAcceptedState), sameInstance(lastAcceptedState));
logger.info("checking linearizability of history with size {}: {}", history.size(), history); logger.info("checking linearizability of history with size {}: {}", history.size(), history);
assertTrue("history not linearizable: " + history, linearizabilityChecker.isLinearizable(spec, history, i -> null)); // See https://github.com/elastic/elasticsearch/issues/39437
//assertTrue("history not linearizable: " + history, linearizabilityChecker.isLinearizable(spec, history, i -> null));
logger.info("linearizability check completed"); logger.info("linearizability check completed");
} }