Skip to content

Commit

Permalink
fix env variable prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
kvch committed Jan 12, 2022
1 parent 20fd85e commit f331836
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion filebeat/Jenkinsfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ stages:
mage: >- ## Run module integration tests under previous minor of ES to ensure ingest pipeline compatibility.
STACK_ENVIRONMENT=prev-minor
TESTING_FILEBEAT_SKIP_DIFF=1
TESTING_ALLOW_OLDER=1
TESTING_FILEBEAT_ALLOW_OLDER=1
PYTEST_ADDOPTS='-k test_modules'
mage pythonIntegTest
withModule: true
Expand Down
2 changes: 1 addition & 1 deletion filebeat/tests/system/test_modules.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def run_on_file(self, module, fileset, test_file, cfgfile):
"-M", "*.*.input.close_eof=true",
]
# allow connecting older versions of Elasticsearch
if os.getenv("TESTING_ALLOW_OLDER"):
if os.getenv("TESTING_FILEBEAT_ALLOW_OLDER"):
cmd.extend(["-E", "output.elasticsearch.allow_older_versions=true"])

# Based on the convention that if a name contains -json the json format is needed. Currently used for LS.
Expand Down
2 changes: 1 addition & 1 deletion x-pack/filebeat/Jenkinsfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ stages:
mage: >- ## Run module integration tests under previous minor of ES to ensure ingest pipeline compatibility.
STACK_ENVIRONMENT=prev-minor
TESTING_FILEBEAT_SKIP_DIFF=1
TESTING_ALLOW_OLDER=1
TESTING_FILEBEAT_ALLOW_OLDER=1
PYTEST_ADDOPTS='-k test_xpack_modules'
mage pythonIntegTest
withModule: true
Expand Down

0 comments on commit f331836

Please sign in to comment.