Skip to content

Commit 51de857

Browse files
committed
fix test compile
1 parent 60e642e commit 51de857

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

modules/ingest-common/src/internalClusterTest/java/org/elasticsearch/plugins/internal/XContentMeteringParserDecoratorWithPipelinesIT.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
import org.elasticsearch.action.DocWriteRequest;
1313
import org.elasticsearch.action.index.IndexRequest;
1414
import org.elasticsearch.index.mapper.MapperService;
15-
import org.elasticsearch.index.mapper.ParsedDocument;
1615
import org.elasticsearch.ingest.common.IngestCommonPlugin;
1716
import org.elasticsearch.plugins.IngestPlugin;
1817
import org.elasticsearch.plugins.Plugin;
@@ -129,8 +128,8 @@ public Map<String, Object> map() throws IOException {
129128
}
130129

131130
@Override
132-
public ParsedDocument.DocumentSize meteredDocumentSize() {
133-
return new ParsedDocument.DocumentSize(mapCounter, 0);
131+
public long meteredDocumentSize() {
132+
return mapCounter;
134133
}
135134
}
136135

0 commit comments

Comments
 (0)