mirror of
https://github.com/elastic/logstash.git
synced 2025-04-21 21:27:20 -04:00
* Add feature flag support for RATS Adds feature flag support for RATS integration tests. First feature to use it is persistent_queues. You can enable a FF in travis by using the travis matrix and adding a env variable called FEATURE_FLAG=<feature_name>. To use feature flag, you need a logstash.yml file which has this feature turned on. Unfortunately --path.settings needs an entire dir where logstash.yml is located, not just the logstash.yml file, so we need to checkin the fixture which has the feature yml and log4j. For example, you can now set FEATURE_FLAG=persistent_queues which means travis will run tests twice, one with this feature enabled and once without it. When the feature is enaabled the logstash.yml located in qa/integration/fixtures/persistent_queues is picked up whenever LS is started in tests
7 lines
No EOL
293 B
YAML
7 lines
No EOL
293 B
YAML
---
|
|
# Use this to output more debug-level information
|
|
verbose_mode: false
|
|
# Typically we use the binaries in LS_HOME/build. If you want to QA a LS in different location,
|
|
# use the absolute path below
|
|
#ls_home_abs_path: /tmp/logstash-5.0.0-alpha6
|
|
feature_flag: <%= ENV['FEATURE_FLAG'] %> |