浏览代码

Mute PrimaryAllocationIT.testForceStaleReplicaToBePromotedToPrimaryOnWrongNode

Tracking issue: #37345
Alpar Torok 6 年之前
父节点
当前提交
3e73911cbe
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      server/src/test/java/org/elasticsearch/cluster/routing/PrimaryAllocationIT.java

+ 1 - 0
server/src/test/java/org/elasticsearch/cluster/routing/PrimaryAllocationIT.java

@@ -265,6 +265,7 @@ public class PrimaryAllocationIT extends ESIntegTestCase {
         assertThat(newHistoryUUIds, hasSize(1));
         assertThat(newHistoryUUIds, hasSize(1));
     }
     }
 
 
+    @AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/37345")
     public void testForceStaleReplicaToBePromotedToPrimaryOnWrongNode() throws Exception {
     public void testForceStaleReplicaToBePromotedToPrimaryOnWrongNode() throws Exception {
         String master = internalCluster().startMasterOnlyNode(Settings.EMPTY);
         String master = internalCluster().startMasterOnlyNode(Settings.EMPTY);
         internalCluster().startDataOnlyNodes(2);
         internalCluster().startDataOnlyNodes(2);