mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-09 14:34:43 +00:00
[TEST] Mute ChangePolicyForIndexIT#testChangePolicyForIndex
This commit is contained in:
parent
6e58284683
commit
2bf843e768
@ -52,6 +52,7 @@ public class ChangePolicyforIndexIT extends ESRestTestCase {
|
|||||||
* settings from the second policy are set ont he index (proving the second
|
* settings from the second policy are set ont he index (proving the second
|
||||||
* policy was used for the warm phase)
|
* policy was used for the warm phase)
|
||||||
*/
|
*/
|
||||||
|
@AwaitsFix(bugUrl="https://github.com/elastic/elasticsearch/issues/35244")
|
||||||
public void testChangePolicyForIndex() throws Exception {
|
public void testChangePolicyForIndex() throws Exception {
|
||||||
String indexName = "test-000001";
|
String indexName = "test-000001";
|
||||||
// create policy_1 and policy_2
|
// create policy_1 and policy_2
|
||||||
@ -130,6 +131,11 @@ public class ChangePolicyforIndexIT extends ESRestTestCase {
|
|||||||
assertEquals("node-1,node-2", includesAllocation);
|
assertEquals("node-1,node-2", includesAllocation);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void testTempAwaitFix() {
|
||||||
|
// this is a test stub since there is only one test in this class and it is
|
||||||
|
// awaits-fixed. This test is to be removed once testChangePolicyForIndex is resolved
|
||||||
|
}
|
||||||
|
|
||||||
private void assertStep(String indexName, StepKey expectedStep) throws IOException {
|
private void assertStep(String indexName, StepKey expectedStep) throws IOException {
|
||||||
Response explainResponse = client().performRequest(new Request("GET", "/" + indexName + "/_ilm/explain"));
|
Response explainResponse = client().performRequest(new Request("GET", "/" + indexName + "/_ilm/explain"));
|
||||||
assertOK(explainResponse);
|
assertOK(explainResponse);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user