Skip to content

Commit

Permalink
ClusterShardLimitIT.testCreateIndexWithMaxClusterShardSetting (#8708) (
Browse files Browse the repository at this point in the history
…#8728)

(cherry picked from commit 688c53f)

Signed-off-by: Rishav Sagar <rissag@amazon.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Rishav Sagar <rissag@amazon.com>
  • Loading branch information
3 people authored Jul 17, 2023
1 parent 04fa5b6 commit 726e01c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,7 @@ public void testIndexCreationOverLimitForDotIndexesFail() {
assertFalse(clusterState.getMetadata().hasIndex(".test-index"));
}

@AwaitsFix(bugUrl = "https://github.com/opensearch-project/OpenSearch/issues/6287")
public void testCreateIndexWithMaxClusterShardSetting() {
int dataNodes = client().admin().cluster().prepareState().get().getState().getNodes().getDataNodes().size();
ClusterState clusterState = client().admin().cluster().prepareState().get().getState();
Expand Down

0 comments on commit 726e01c

Please sign in to comment.