-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Libbeat] Add more complete tests for opt parameters in ES output (#1…
…8393) * [Libbeat] Add more complete tests for opt parameters in ES output This PR add additionnal test over the usager of the `parameters` options in the Elasticsearch output: - When preconfigured params are set without local params - When preconfigured params are set with local params - When no preconfigured params are configured but local are. - When no preconfigured or local params are set. The merge is also done close to the actual calls and will not be executed if anything fails before the bulk request. The test assertion is now more solid and take into consideration any errors. See discussion in #18318 and #18326
- Loading branch information
Showing
2 changed files
with
83 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters