Skip to content

Commit

Permalink
Remove prev-minor testing as not needed anymore (#30926)
Browse files Browse the repository at this point in the history
In #26629 the issue around running Filebeat against older version of Elasticsearch was discussed and in #28274 testing against the previous minor was introduced. But since 8.0, Filebeat can only ship data to equal or newer versions of Elasticsearch. Because of this, in the tests `TESTING_FILEBEAT_ALLOW_OLDER=1` had to be introduced.

I'm opening this PR to remove this testing as it is not something we support anymore.
  • Loading branch information
ruflin authored and chrisberkhout committed Jun 1, 2023
1 parent 0c30ad4 commit 5aec3ba
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 56 deletions.
9 changes: 0 additions & 9 deletions filebeat/Jenkinsfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,6 @@ stages:
pythonIntegTest:
mage: "mage pythonIntegTest" ## run the ITs only if the changeset affects a specific module.
stage: mandatory
module-compat-prev-minor:
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_FILEBEAT_ALLOW_OLDER=1
PYTEST_ADDOPTS='-k test_modules'
mage pythonIntegTest
withModule: true
stage: mandatory
macos:
mage: "mage build unitTest"
platforms: ## override default label in this specific stage.
Expand Down
38 changes: 0 additions & 38 deletions testing/environments/prev-minor.yml

This file was deleted.

9 changes: 0 additions & 9 deletions x-pack/filebeat/Jenkinsfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,6 @@ stages:
pythonIntegTest:
mage: "mage pythonIntegTest" ## run the ITs only if the changeset affects a specific module.
stage: mandatory
module-compat-prev-minor:
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_FILEBEAT_ALLOW_OLDER=1
PYTEST_ADDOPTS='-k test_xpack_modules'
mage pythonIntegTest
withModule: true
stage: mandatory
macos:
mage: "mage build unitTest"
platforms: ## override default label in this specific stage.
Expand Down

0 comments on commit 5aec3ba

Please sign in to comment.