Added support for running integration tests on Windows. #411
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
This commits adds the required docker-compose projects, fluent-bit configurations, and the Powershell scripts needed to run the integration tests on Windows platform.
The design of the integration tests along with the constraints are detailed in the next section.
Constraints and mitigations
When we are using docker-compose to orchestrate our tests, we encounter a few limitations. Here, we detail the ways in which the same are mitigated.
fluentd
logging driver and connect to Fluent-bitIP Address:Port
.net.dns.resolver LEGACY
setting in the config.Implementation design
As part of each plugin test, we do the following-
At any point, if we encounter any error, then we error out at that point itself.
Testing
The integration tests were triggered multiple times using the
run-integ.ps1
script.Description of changes:
Added support for running integration tests on Windows
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.