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.
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=trueto run tests.Maybe similar to
-expected.json, we can have-config.ymland if-config.ymlexists, use it as config file when running the tests.