From 4dd274b51d348a5b1755cfcce3067df5032b5f3f Mon Sep 17 00:00:00 2001 From: Tanguy Leroux Date: Wed, 27 Feb 2019 20:36:59 +0100 Subject: [PATCH] Unmute CoordinatorTests.testDiscoveryUsesNodesFromLastClusterState() (#39452) This commit unmutes the test and comments out the offending call to linearizabilityChecker.isLinearizable() as suggested in #39437 --- .../elasticsearch/cluster/coordination/CoordinatorTests.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/src/test/java/org/elasticsearch/cluster/coordination/CoordinatorTests.java b/server/src/test/java/org/elasticsearch/cluster/coordination/CoordinatorTests.java index 0c525b28817..af8395d579a 100644 --- a/server/src/test/java/org/elasticsearch/cluster/coordination/CoordinatorTests.java +++ b/server/src/test/java/org/elasticsearch/cluster/coordination/CoordinatorTests.java @@ -1442,7 +1442,8 @@ public class CoordinatorTests extends ESTestCase { leader.improveConfiguration(lastAcceptedState), sameInstance(lastAcceptedState)); 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"); }