diff --git a/server/src/internalClusterTest/java/org/elasticsearch/monitor/metrics/NodeIndexingMetricsIT.java b/server/src/internalClusterTest/java/org/elasticsearch/monitor/metrics/NodeIndexingMetricsIT.java index 3d4a23b6d297c..04130d176b9e5 100644 --- a/server/src/internalClusterTest/java/org/elasticsearch/monitor/metrics/NodeIndexingMetricsIT.java +++ b/server/src/internalClusterTest/java/org/elasticsearch/monitor/metrics/NodeIndexingMetricsIT.java @@ -63,7 +63,6 @@ import static org.hamcrest.Matchers.greaterThan; import static org.hamcrest.Matchers.greaterThanOrEqualTo; import static org.hamcrest.Matchers.is; -import static org.hamcrest.Matchers.iterableWithSize; import static org.hamcrest.Matchers.lessThan; @ESIntegTestCase.ClusterScope(scope = ESIntegTestCase.Scope.TEST, numDataNodes = 0, numClientNodes = 0) diff --git a/server/src/test/java/org/elasticsearch/rest/action/cat/RestShardsActionTests.java b/server/src/test/java/org/elasticsearch/rest/action/cat/RestShardsActionTests.java index 25ed98da90737..b1da067e2f7e6 100644 --- a/server/src/test/java/org/elasticsearch/rest/action/cat/RestShardsActionTests.java +++ b/server/src/test/java/org/elasticsearch/rest/action/cat/RestShardsActionTests.java @@ -115,7 +115,10 @@ public void testShardStatsForIndexing() { assertThat(row.get(33).value, equalTo(shardStats.getStats().getIndexing().getTotal().getIndexTime())); assertThat(row.get(34).value, equalTo(shardStats.getStats().getIndexing().getTotal().getIndexCount())); assertThat(row.get(35).value, equalTo(shardStats.getStats().getIndexing().getTotal().getIndexFailedCount())); - assertThat(row.get(36).value, equalTo(shardStats.getStats().getIndexing().getTotal().getIndexFailedDueToVersionConflictCount())); + assertThat( + row.get(36).value, + equalTo(shardStats.getStats().getIndexing().getTotal().getIndexFailedDueToVersionConflictCount()) + ); } }