You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is working correctly while there is just one data stream with ingest pipelines.
If there are multiple data streams and not all of them with ingest pipelines, there is an scenario not covered. As an example:
Package containing 2 data streams
Both data streams have an ingest pipeline defined
Just one data stream has pipeline tests defined for the ingest pipelines.
In this case, the coverage report will just show the coverage report for the data stream
with tests, but it will not add any reference for the second data stream that has no tests. It should also add a coverage reference adding a Missing (not covered) method/line.
There are ingest pipelines defined in those 3 data streams
Just one data stream has no tests for pipeline
It just contains the coverage information for audit and log but there is no reference to the third data stream (ingest pipeline) adding a not covered line as mentioned above.
Coverage XML generated for hashicorp_vault package (pipeline tests)
Relates #1595
Currently, there are three scenarios for reporting coverage in pipeline tests considering
just one data stream:
This is working correctly while there is just one data stream with ingest pipelines.
If there are multiple data streams and not all of them with ingest pipelines, there is an scenario not covered. As an example:
In this case, the coverage report will just show the coverage report for the data stream
with tests, but it will not add any reference for the second data stream that has no tests. It should also add a coverage reference adding a Missing (not covered) method/line.
For instance , this happens with the
hashicorp_vault
package in the integrations repository:https://github.com/elastic/integrations/tree/f3141bc947df480b628788c01ba50fdc411a22b0/packages/hashicorp_vault/data_stream
It just contains the coverage information for
audit
andlog
but there is no reference to the third data stream (ingest pipeline) adding a not covered line as mentioned above.Coverage XML generated for hashicorp_vault package (pipeline tests)
The text was updated successfully, but these errors were encountered: