From 67cc4243038ce45bb481c6ff30118c81f5008d9c Mon Sep 17 00:00:00 2001 From: Adrien Grand Date: Thu, 17 Nov 2016 09:48:26 +0100 Subject: [PATCH] Remove call to the store throttling stats. Store throttling has been removed in elastic/elasticsearchelastic/elasticsearch#21573. Original commit: elastic/x-pack-elasticsearch@40bcb51101424ce151fd8fb9a22974dec574a457 --- .../monitoring/collector/indices/IndexStatsCollectorTests.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/elasticsearch/src/test/java/org/elasticsearch/xpack/monitoring/collector/indices/IndexStatsCollectorTests.java b/elasticsearch/src/test/java/org/elasticsearch/xpack/monitoring/collector/indices/IndexStatsCollectorTests.java index f0f7f565623..6c7f75e1438 100644 --- a/elasticsearch/src/test/java/org/elasticsearch/xpack/monitoring/collector/indices/IndexStatsCollectorTests.java +++ b/elasticsearch/src/test/java/org/elasticsearch/xpack/monitoring/collector/indices/IndexStatsCollectorTests.java @@ -95,7 +95,6 @@ public class IndexStatsCollectorTests extends AbstractCollectorTestCase { assertThat(indexStats.getPrimaries().getDocs().getCount(), equalTo((long) nbDocs)); assertNotNull(indexStats.getTotal().getStore()); assertThat(indexStats.getTotal().getStore().getSizeInBytes(), greaterThan(0L)); - assertThat(indexStats.getTotal().getStore().getThrottleTime().millis(), equalTo(0L)); assertNotNull(indexStats.getTotal().getIndexing()); assertThat(indexStats.getTotal().getIndexing().getTotal().getThrottleTime().millis(), equalTo(0L)); } @@ -154,7 +153,6 @@ public class IndexStatsCollectorTests extends AbstractCollectorTestCase { assertThat(indexStats.getPrimaries().getDocs().getCount(), equalTo((long) docsPerIndex[i])); assertNotNull(indexStats.getTotal().getStore()); assertThat(indexStats.getTotal().getStore().getSizeInBytes(), greaterThanOrEqualTo(0L)); - assertThat(indexStats.getTotal().getStore().getThrottleTime().millis(), equalTo(0L)); assertNotNull(indexStats.getTotal().getIndexing()); assertThat(indexStats.getTotal().getIndexing().getTotal().getThrottleTime().millis(), equalTo(0L)); found = true;