mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-25 22:36:20 +00:00
Tests: Add more assertions to SearchStatsTests.
This commit is contained in:
parent
adcb782423
commit
d3b1567f79
@ -164,6 +164,7 @@ public class SearchStatsTests extends ElasticsearchIntegrationTest {
|
||||
.setSize(5)
|
||||
.setScroll(TimeValue.timeValueMinutes(2))
|
||||
.execute().actionGet();
|
||||
assertSearchResponse(searchResponse);
|
||||
|
||||
indicesStats = client().admin().indices().prepareStats().execute().actionGet();
|
||||
assertThat(indicesStats.getTotal().getSearch().getOpenContexts(), equalTo((long)numAssignedShards("test1")));
|
||||
|
Loading…
x
Reference in New Issue
Block a user