Skip to content

Improve stability of GeoIpDownloaderIT test suite.#74558

Merged
probakowski merged 1 commit intoelastic:masterfrom
martijnvg:GeoIpDownloaderIT_wait_for_db_files_to_be_removed
Jul 9, 2021
Merged

Improve stability of GeoIpDownloaderIT test suite.#74558
probakowski merged 1 commit intoelastic:masterfrom
martijnvg:GeoIpDownloaderIT_wait_for_db_files_to_be_removed

Conversation

@martijnvg
Copy link
Copy Markdown
Member

Adjust GeoIpDownloaderIT test suit to wait for managed databases files
to be removed after each test.

After each test geoip downloader is disabled, which should eventually
remove the managed geoip database files. This happens in the background.
However a new test starts that assumes that the builtin databases are used
then that test can fail, because expected assertions will fail. The changes
in this commit should address this.

Closes #74358

Adjust GeoIpDownloaderIT test suit to wait for managed databases files
to be removed after each test.

After each test geoip downloader is disabled,  which should eventually
remove the managed geoip database files. This happens in the background.
However a new test starts that assumes that the builtin databases are used
then that test can fail, because expected assertions will fail. The changes
in this commit should address this.

Closes elastic#74358
@martijnvg martijnvg added >test Issues or PRs that are addressing/adding tests :Distributed/Ingest Node Execution or management of Ingest Pipelines v8.0.0 v7.14.0 labels Jun 24, 2021
@martijnvg martijnvg requested a review from probakowski June 24, 2021 12:57
@elasticmachine elasticmachine added the Team:Data Management (obsolete) DO NOT USE. This team no longer exists. label Jun 24, 2021
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-core-features (Team:Core/Features)

Copy link
Copy Markdown
Contributor

@probakowski probakowski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@probakowski probakowski added the auto-backport Automatically create backport pull requests when merged label Jul 9, 2021
@probakowski probakowski merged commit 9780f67 into elastic:master Jul 9, 2021
elasticsearchmachine pushed a commit to elasticsearchmachine/elasticsearch that referenced this pull request Jul 9, 2021
Adjust GeoIpDownloaderIT test suit to wait for managed databases files
to be removed after each test.

After each test geoip downloader is disabled,  which should eventually
remove the managed geoip database files. This happens in the background.
However a new test starts that assumes that the builtin databases are used
then that test can fail, because expected assertions will fail. The changes
in this commit should address this.

Closes elastic#74358
elasticsearchmachine pushed a commit to elasticsearchmachine/elasticsearch that referenced this pull request Jul 9, 2021
Adjust GeoIpDownloaderIT test suit to wait for managed databases files
to be removed after each test.

After each test geoip downloader is disabled,  which should eventually
remove the managed geoip database files. This happens in the background.
However a new test starts that assumes that the builtin databases are used
then that test can fail, because expected assertions will fail. The changes
in this commit should address this.

Closes elastic#74358
@elasticsearchmachine
Copy link
Copy Markdown
Collaborator

💚 Backport successful

Status Branch Result
7.14
7.x

martijnvg added a commit to martijnvg/elasticsearch that referenced this pull request Dec 16, 2021
Backport elastic#74558 to 7.17 branch.

Adjust GeoIpDownloaderIT test suit to wait for managed databases files
to be removed after each test.

After each test geoip downloader is disabled,  which should eventually
remove the managed geoip database files. This happens in the background.
However a new test starts that assumes that the builtin databases are used
then that test can fail, because expected assertions will fail. The changes
in this commit should address this.

Closes elastic#74358
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-backport Automatically create backport pull requests when merged :Distributed/Ingest Node Execution or management of Ingest Pipelines Team:Data Management (obsolete) DO NOT USE. This team no longer exists. >test Issues or PRs that are addressing/adding tests v7.14.0 v7.15.0 v8.0.0-alpha1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CI] GeoIpDownloaderIT testUseGeoIpProcessorWithDownloadedDBs failing

6 participants