Skip to content

Test fix: align timeouts in testDataStreamLifecycleDownsampleRollingRestart (#123769) #126682

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

gmarouli
Copy link
Contributor

Recently we changed the implementation of testDataStreamLifecycleDownsampleRollingRestart to use a temporary state listener. We missed that the listener also had a timeout that was quite shorter than the safeGet timeout we were configuring. In this PR we align these two timeouts.

Fixes: #123769

@gmarouli gmarouli added >test Issues or PRs that are addressing/adding tests :Data Management/Data streams Data streams and their lifecycles v8.19.0 v9.1.0 labels Apr 11, 2025
@gmarouli gmarouli requested a review from nielsbauman April 11, 2025 11:48
@elasticsearchmachine elasticsearchmachine added the Team:Data Management Meta label for data/management team label Apr 11, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-data-management (Team:Data Management)

Copy link
Contributor

@nielsbauman nielsbauman left a comment

Choose a reason for hiding this comment

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

LGTM!

@gmarouli gmarouli added auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) auto-backport Automatically create backport pull requests when merged labels Apr 14, 2025
@elasticsearchmachine elasticsearchmachine merged commit e461717 into elastic:main Apr 14, 2025
17 checks passed
@gmarouli gmarouli deleted the test-fix-match-timeout-in-downsampling-test branch April 14, 2025 16:54
@elasticsearchmachine
Copy link
Collaborator

💔 Backport failed

Status Branch Result
8.x Commit could not be cherrypicked due to conflicts

You can use sqren/backport to manually backport by running backport --upstream elastic/elasticsearch --pr 126682

@gmarouli
Copy link
Contributor Author

💚 All backports created successfully

Status Branch Result
8.x

Questions ?

Please refer to the Backport tool documentation

gmarouli added a commit to gmarouli/elasticsearch that referenced this pull request Apr 15, 2025
…Restart` (elastic#123769) (elastic#126682)

Recently we changed the implementation of
`testDataStreamLifecycleDownsampleRollingRestart` to use a temporary
state listener. We missed that the listener also had a timeout that was
quite shorter than the `safeGet` timeout we were configuring. In this PR
we align these two timeouts.

Fixes: elastic#123769
(cherry picked from commit e461717)

# Conflicts:
#	muted-tests.yml
elasticsearchmachine pushed a commit that referenced this pull request Apr 15, 2025
…Restart` (#123769) (#126682) (#126816)

Recently we changed the implementation of
`testDataStreamLifecycleDownsampleRollingRestart` to use a temporary
state listener. We missed that the listener also had a timeout that was
quite shorter than the `safeGet` timeout we were configuring. In this PR
we align these two timeouts.

Fixes: #123769
(cherry picked from commit e461717)

# Conflicts:
#	muted-tests.yml
@nielsbauman
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
9.0

Questions ?

Please refer to the Backport tool documentation

@nielsbauman
Copy link
Contributor

Manually backported to 9.0 to fix #127045.

nielsbauman pushed a commit to nielsbauman/elasticsearch that referenced this pull request Apr 18, 2025
…Restart` (elastic#123769) (elastic#126682)

Recently we changed the implementation of
`testDataStreamLifecycleDownsampleRollingRestart` to use a temporary
state listener. We missed that the listener also had a timeout that was
quite shorter than the `safeGet` timeout we were configuring. In this PR
we align these two timeouts.

Fixes: elastic#123769
(cherry picked from commit e461717)

# Conflicts:
#	muted-tests.yml
#	x-pack/plugin/downsample/src/internalClusterTest/java/org/elasticsearch/xpack/downsample/DataStreamLifecycleDownsampleDisruptionIT.java
elasticsearchmachine pushed a commit that referenced this pull request Apr 18, 2025
…Restart` (#123769) (#126682) (#127049)

Recently we changed the implementation of
`testDataStreamLifecycleDownsampleRollingRestart` to use a temporary
state listener. We missed that the listener also had a timeout that was
quite shorter than the `safeGet` timeout we were configuring. In this PR
we align these two timeouts.

Fixes: #123769
(cherry picked from commit e461717)

# Conflicts:
#	muted-tests.yml
#	x-pack/plugin/downsample/src/internalClusterTest/java/org/elasticsearch/xpack/downsample/DataStreamLifecycleDownsampleDisruptionIT.java

Co-authored-by: Mary Gouseti <[email protected]>
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 auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport pending :Data Management/Data streams Data streams and their lifecycles Team:Data Management Meta label for data/management team >test Issues or PRs that are addressing/adding tests v8.19.0 v9.1.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[CI] DataStreamLifecycleDownsampleDisruptionIT testDataStreamLifecycleDownsampleRollingRestart failing
3 participants