Skip to content

Conversation

@nielsbauman
Copy link
Contributor

It was clear from failed tests that DLM was still progressing when the timeout of 10s was reached. Since DLM works on a poll interval (set to 1s in these tests), there's not much we can do to speed up the test. Therefore, we simply bump the timeout from 10s to 30s. This should give DLM enough time to complete the downsampling mode change.

Note that safeAwait uses a timeout of 10s and awaitClusterState uses a timeout of 30s; that's why there's no explicit timeout change.

Fixes #138135

It was clear from failed tests that DLM was still progressing when the
timeout of 10s was reached. Since DLM works on a poll interval (set to
1s in these tests), there's not much we can do to speed up the test.
Therefore, we simply bump the timeout from 10s to 30s. This should give
DLM enough time to complete the downsampling mode change.

Note that `safeAwait` uses a timeout of 10s and `awaitClusterState` uses
a timeout of 30s; that's why there's no explicit timeout change.

Fixes elastic#138135
@nielsbauman nielsbauman requested a review from gmarouli November 17, 2025 14:00
@elasticsearchmachine elasticsearchmachine added needs:triage Requires assignment of a team area label v9.3.0 labels Nov 17, 2025
@nielsbauman nielsbauman added >test Issues or PRs that are addressing/adding tests :Data Management/Data streams Data streams and their lifecycles :StorageEngine/Downsampling Downsampling (replacement for rollups) - Turn fine-grained time-based data into coarser-grained data and removed needs:triage Requires assignment of a team area label v9.3.0 labels Nov 17, 2025
@elasticsearchmachine elasticsearchmachine added Team:Data Management Meta label for data/management team Team:StorageEngine labels Nov 17, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-storage-engine (Team:StorageEngine)

@elasticsearchmachine
Copy link
Collaborator

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

Copy link
Contributor

@szybia szybia left a comment

Choose a reason for hiding this comment

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

lgtm

Copy link
Contributor

@gmarouli gmarouli left a comment

Choose a reason for hiding this comment

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

LGTM, thank you @nielsbauman

@nielsbauman nielsbauman enabled auto-merge (squash) November 18, 2025 08:10
@nielsbauman nielsbauman merged commit ab55d97 into elastic:main Nov 18, 2025
32 of 34 checks passed
@nielsbauman nielsbauman deleted the fix-dlm-test branch November 18, 2025 09:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Data Management/Data streams Data streams and their lifecycles :StorageEngine/Downsampling Downsampling (replacement for rollups) - Turn fine-grained time-based data into coarser-grained data Team:Data Management Meta label for data/management team Team:StorageEngine >test Issues or PRs that are addressing/adding tests v9.3.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CI] DataStreamLifecycleDownsampleIT testUpdateDownsampleSamplingMode failing

4 participants