Skip to content

Commit 17db713

Browse files
committed
rebase
Signed-off-by: xuxiong1 <[email protected]>
1 parent b3f0311 commit 17db713

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

plugins/ingestion-kafka/src/internalClusterTest/java/org/opensearch/plugin/kafka/IngestFromKafkaIT.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,8 @@ public void testKafkaIngestion() {
7676
refresh("test");
7777
SearchResponse response = client().prepareSearch("test").setQuery(query).get();
7878
assertThat(response.getHits().getTotalHits().value(), is(1L));
79-
PollingIngestStats stats = client().admin().indices().prepareStats("test").get().getIndex("test").getShards()[0].getPollingIngestStats();
79+
PollingIngestStats stats = client().admin().indices().prepareStats("test").get().getIndex("test").getShards()[0]
80+
.getPollingIngestStats();
8081
assertNotNull(stats);
8182
assertThat(stats.getMessageProcessorStats().getTotalProcessedCount(), is(2L));
8283
assertThat(stats.getConsumerStats().getTotalPolledCount(), is(2L));

0 commit comments

Comments
 (0)