Skip to content

Commit 2439f68

Browse files
Delete Redundant RoutingServiceTests (#37750)
* This test compleletly overrode the `reroute` method and hence did nothing put test the override itself * Removed the test since it tests nothing and simplified `reroute` accordingly
1 parent 6a98383 commit 2439f68

File tree

2 files changed

+0
-67
lines changed

2 files changed

+0
-67
lines changed

server/src/main/java/org/elasticsearch/cluster/routing/RoutingService.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,6 @@ protected void doClose() {
7777
* Initiates a reroute.
7878
*/
7979
public final void reroute(String reason) {
80-
performReroute(reason);
81-
}
82-
83-
// visible for testing
84-
protected void performReroute(String reason) {
8580
try {
8681
if (lifecycle.stopped()) {
8782
return;

server/src/test/java/org/elasticsearch/cluster/routing/RoutingServiceTests.java

Lines changed: 0 additions & 62 deletions
This file was deleted.

0 commit comments

Comments
 (0)