Skip to content

Commit 7b02a00

Browse files
committed
iter
1 parent b7e9568 commit 7b02a00

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

server/src/main/java/org/elasticsearch/action/ResolvedIndices.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,6 @@ public class ResolvedIndices {
6161
this(remoteClusterIndices, localIndices, localIndexMetadata, null);
6262
}
6363

64-
public String toString() {
65-
return "ResolvedIndices{" + "local=" + localIndices + ", remote=" + remoteClusterIndices + '}';
66-
}
67-
6864
/**
6965
* Get the remote cluster indices, structured as a map where the key is the remote cluster alias.
7066
* <br/>

server/src/test/java/org/elasticsearch/action/search/TransportSearchActionTests.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
package org.elasticsearch.action.search;
1111

1212
import com.carrotsearch.randomizedtesting.generators.RandomPicks;
13-
1413
import org.apache.lucene.search.TotalHits;
1514
import org.apache.lucene.util.SetOnce;
1615
import org.elasticsearch.TransportVersion;
@@ -1704,8 +1703,7 @@ public void testLocalShardIteratorFromPointInTime() {
17041703
final SearchShardIterator shardIterator = shardIterators.get(id);
17051704
final SearchContextIdForNode context = contexts.get(shardId);
17061705
if (context.getSearchContextId().getSearcherId() == null) {
1707-
// TODO fix this broken test
1708-
// assertThat(shardIterator.getTargetNodeIds(), hasSize(1));
1706+
assertThat(shardIterator.getTargetNodeIds(), hasSize(1));
17091707
} else {
17101708
// TODO this branch seems never executed by this test. Needs investigation.
17111709
final List<String> targetNodes = clusterState.routingTable(project)

0 commit comments

Comments
 (0)