diff --git a/nifi-nar-bundles/nifi-elasticsearch-bundle/nifi-elasticsearch-client-service/src/test/groovy/org/apache/nifi/elasticsearch/integration/ElasticSearch5ClientService_IT.groovy b/nifi-nar-bundles/nifi-elasticsearch-bundle/nifi-elasticsearch-client-service/src/test/groovy/org/apache/nifi/elasticsearch/integration/ElasticSearch5ClientService_IT.groovy index 73a5f634095bf..77894128d9faf 100644 --- a/nifi-nar-bundles/nifi-elasticsearch-bundle/nifi-elasticsearch-client-service/src/test/groovy/org/apache/nifi/elasticsearch/integration/ElasticSearch5ClientService_IT.groovy +++ b/nifi-nar-bundles/nifi-elasticsearch-bundle/nifi-elasticsearch-client-service/src/test/groovy/org/apache/nifi/elasticsearch/integration/ElasticSearch5ClientService_IT.groovy @@ -101,11 +101,5 @@ class ElasticSearch5ClientService_IT { def docCount = aggRes["doc_count"] Assert.assertEquals("${key} did not match.", expected[key], docCount) } -// for (Map aggRes : buckets) { -// String key = (String)aggRes.get("key") -// Integer docCount = (Integer)aggRes.get("doc_count") -// -// Assert.assertEquals(String.format("%s did not match", key), expected.get(key), docCount) -// } } }