Add ability to read config file in test_modules.py for filebeat #10182
Labels
discuss
Issue needs further discussion.
enhancement
Filebeat
Filebeat
Stalled
Team:Integrations
Label for the Integrations team
technical debt
:Testing
Not sure if this is caused by my lack of knowledge on filebeat, I can't find a way to give a config file for a specific module when running
GENERATE=1 INTEGRATION_TESTS=1 TESTING_FILEBEAT_MODULES=nginx nosetests -v --nocapture tests/system/test_modules.py
.Right now Im adding hardcoded part into test_modules.py https://github.com/elastic/beats/blob/master/filebeat/tests/system/test_modules.py#L110 to specify variables such as
convert.timezone=true
to run tests.Maybe similar to
-expected.json
, we can have-config.yml
and if-config.yml
exists, use it as config file when running the tests.The text was updated successfully, but these errors were encountered: