mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-09 14:34:43 +00:00
Prepare for removal of #getIndexTimeInMillis
In `https://github.com/elastic/elasticsearch/pull/14632/` IndexingStats#getIndexTimeInMillis() has been removed and is superseeded by IndexingStats#getIndexTime() which is already avaliable Original commit: elastic/x-pack-elasticsearch@2caba81352
This commit is contained in:
parent
ac8955709c
commit
ebcca4f3c2
@ -109,7 +109,7 @@ public class IndexStatsCollectorTests extends AbstractCollectorTestCase {
|
||||
assertThat(indexStats.getTotal().getStore().getSizeInBytes(), greaterThan(0L));
|
||||
assertThat(indexStats.getTotal().getStore().getThrottleTime().millis(), equalTo(0L));
|
||||
assertNotNull(indexStats.getTotal().getIndexing());
|
||||
assertThat(indexStats.getTotal().getIndexing().getTotal().getThrottleTimeInMillis(), equalTo(0L));
|
||||
assertThat(indexStats.getTotal().getIndexing().getTotal().getThrottleTime().millis(), equalTo(0L));
|
||||
}
|
||||
|
||||
public void testIndexStatsCollectorMultipleIndices() throws Exception {
|
||||
@ -168,7 +168,7 @@ public class IndexStatsCollectorTests extends AbstractCollectorTestCase {
|
||||
assertThat(indexStats.getTotal().getStore().getSizeInBytes(), greaterThanOrEqualTo(0L));
|
||||
assertThat(indexStats.getTotal().getStore().getThrottleTime().millis(), equalTo(0L));
|
||||
assertNotNull(indexStats.getTotal().getIndexing());
|
||||
assertThat(indexStats.getTotal().getIndexing().getTotal().getThrottleTimeInMillis(), equalTo(0L));
|
||||
assertThat(indexStats.getTotal().getIndexing().getTotal().getThrottleTime().millis(), equalTo(0L));
|
||||
found = true;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user