Skip to content

Commit

Permalink
expand to the other two places this error shows
Browse files Browse the repository at this point in the history
  • Loading branch information
stefnestor committed Jul 17, 2024
1 parent 52f5acd commit 94e0b03
Showing 1 changed file with 9 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,9 @@ public void testIncreaseReplicasOverLimit() {
+ firstShardCount
+ "]/["
+ dataNodes * shardsPerNode
+ "] maximum normal shards open; for more information see "
+ ReferenceDocs.MAX_SHARDS_PER_NODE;
+ "] maximum normal shards open; for more information, see "
+ ReferenceDocs.MAX_SHARDS_PER_NODE
+ ";";
assertEquals(expectedError, e.getMessage());
}
Metadata clusterState = clusterAdmin().prepareState().get().getState().metadata();
Expand Down Expand Up @@ -213,7 +214,9 @@ public void testChangingMultipleIndicesOverLimit() {
+ totalShardsBefore
+ "]/["
+ dataNodes * shardsPerNode
+ "] maximum normal shards open;";
+ "] maximum normal shards open; for more information, see "
+ ReferenceDocs.MAX_SHARDS_PER_NODE
+ ";";
assertEquals(expectedError, e.getMessage());
}
Metadata clusterState = clusterAdmin().prepareState().get().getState().metadata();
Expand Down Expand Up @@ -405,7 +408,9 @@ private void verifyException(int dataNodes, ShardCounts counts, IllegalArgumentE
+ currentShards
+ "]/["
+ maxShards
+ "] maximum normal shards open;";
+ "] maximum normal shards open; for more information, see "
+ ReferenceDocs.MAX_SHARDS_PER_NODE
+";";
assertEquals(expectedError, e.getMessage());
}

Expand Down

0 comments on commit 94e0b03

Please sign in to comment.