Fleet turned on ignore_malformed for logs data streams in elastic/kibana#157184. This causes Elasticsearch to silently ignore malformed fields (for certain types). This is great for users, but silent failures are the bane of developers and unit tests.
elastic-package should be updated to check if any documents returned in tests contain _ignored. This would indicate the document contains malformed data and the test should fail.