Tests: Add information about shards that are not closed when the filter cache gets closed.

This commit is contained in:
Adrien Grand 2015-05-18 10:16:15 +02:00
parent 8b8ba9a44f
commit 61a31dd57f
1 changed files with 1 additions and 1 deletions

View File

@ -266,7 +266,7 @@ public class IndicesFilterCache extends AbstractComponent implements QueryCache,
@Override
public void close() {
assert shardKeyMap.size() == 0 : shardKeyMap.size();
assert shardStats.isEmpty();
assert shardStats.isEmpty() : shardStats.keySet();
assert stats2.isEmpty() : stats2;
cache.clear();
}