File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
plugins/ingestion-kafka/src/internalClusterTest/java/org/opensearch/plugin/kafka Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff 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 ));
You can’t perform that action at this time.
0 commit comments