From f17ddf12fa9a6136a8cf88d534e06189031c5fc4 Mon Sep 17 00:00:00 2001 From: Ashish Singh Date: Sat, 2 Sep 2023 19:53:53 +0530 Subject: [PATCH] Awaits fix testSimplePreference in SearchPreferenceIT Signed-off-by: Ashish Singh --- .../org/opensearch/search/preference/SearchPreferenceIT.java | 1 + 1 file changed, 1 insertion(+) diff --git a/server/src/internalClusterTest/java/org/opensearch/search/preference/SearchPreferenceIT.java b/server/src/internalClusterTest/java/org/opensearch/search/preference/SearchPreferenceIT.java index a2576420e88b4..fbe1547528543 100644 --- a/server/src/internalClusterTest/java/org/opensearch/search/preference/SearchPreferenceIT.java +++ b/server/src/internalClusterTest/java/org/opensearch/search/preference/SearchPreferenceIT.java @@ -136,6 +136,7 @@ public void testNoPreferenceRandom() { assertThat(firstNodeId, not(equalTo(secondNodeId))); } + @AwaitsFix(bugUrl = "setPreference is being overridden and then set again") public void testSimplePreference() { client().admin().indices().prepareCreate("test").setSettings("{\"number_of_replicas\": 1}", MediaTypeRegistry.JSON).get(); ensureGreen();