Improve test quality of org.elasticsearch.index.codec package #108706
Labels
:StorageEngine/Logs
You know, for Logs
:StorageEngine/Metrics
You know, for Metrics
Team:StorageEngine
>test
Issues or PRs that are addressing/adding tests
This is achieved by improving test coverage and adding test duels for specific codecs.
The following sub packages need increased test coverage:
org.elasticsearch.index.codec.bloomfilter
package. Currently 90% of lines and 71% of branches tested.org.elasticsearch.index.codec.postings
package. Currently 94% of lines and 79% of branches tested.org.elasticsearch.index.codec.tsdb
package. Currently 97% of lines and 85% of branches tested.org.elasticsearch.index.codec.zstd
package. Currently 93% of lines and 50% (?) of branches tested.The following classes need increased test coverage:
CodecService
. Currently 81% of lines and 62% of branches tested.ForUtil
. Currently 93% of lines and 82% of branches tested.LegacyPerFieldMapperCodec
. Currently 85% of lines and 50% of branches tested.PerFieldFormatSupplier
. Currently 75% of lines and 61% of branches tested.PerFieldMapperCodec
. Currently 57% of lines and 50% of branches tested.Lastly, we should add test duel for a few custom codecs:
The text was updated successfully, but these errors were encountered: