Skip to content

Conversation

@nielsbauman
Copy link
Contributor

@nielsbauman nielsbauman commented Mar 31, 2025

This test failed when the disk.indices.forecast value was a decimal number.
We adjust the regex to allow decimal values and for consistency we also allow negative values.

Fixes #125711
Fixes #125848
Fixes #125661

This test failed when the `disk.indices.forecast` value was more than 0
- with a decimal. We adjust the regex to allow non-zero values.

Fixes elastic#125711
Fixes elastic#125848
Fixes elastic#125661
@nielsbauman nielsbauman added >test Issues or PRs that are addressing/adding tests :Data Management/CAT APIs Text APIs behind /_cat Team:Data Management Meta label for data/management team auto-backport Automatically create backport pull requests when merged v8.18.1 v8.19.0 v9.0.1 v9.1.0 labels Mar 31, 2025
@nielsbauman nielsbauman requested a review from joegallo March 31, 2025 22:43
@elasticsearchmachine
Copy link
Collaborator

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

[-\w.]+ \s+
[-\w.]+ \s+
[\w]+
[-\w.]+
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I tried finding out if something changed in the computation of that field - i.e. if it's a bug that we're returning a non-zero value - but wasn't able to identify anything.

Copy link
Contributor

@joegallo joegallo left a comment

Choose a reason for hiding this comment

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

The code LGTM, but please double check the wording of the description on the PR to make sure it’s accurate (and it’s fine if it is and you choose to change nothing).

@nielsbauman nielsbauman merged commit 8028d5a into elastic:main Apr 1, 2025
17 checks passed
@nielsbauman nielsbauman deleted the fix-cat-allocation branch April 1, 2025 10:25
@elasticsearchmachine
Copy link
Collaborator

💔 Backport failed

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

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

@nielsbauman
Copy link
Contributor Author

💚 All backports created successfully

Status Branch Result
8.x
9.0
8.18

Questions ?

Please refer to the Backport tool documentation

nielsbauman added a commit to nielsbauman/elasticsearch that referenced this pull request Apr 1, 2025
This test failed when the `disk.indices.forecast` value was a decimal number.
We adjust the regex to allow decimal values and for consistency we also allow negative values.

Fixes elastic#125711
Fixes elastic#125848
Fixes elastic#125661

(cherry picked from commit 8028d5a)

# Conflicts:
#	muted-tests.yml
nielsbauman added a commit to nielsbauman/elasticsearch that referenced this pull request Apr 1, 2025
This test failed when the `disk.indices.forecast` value was a decimal number.
We adjust the regex to allow decimal values and for consistency we also allow negative values.

Fixes elastic#125711
Fixes elastic#125848
Fixes elastic#125661

(cherry picked from commit 8028d5a)

# Conflicts:
#	muted-tests.yml
elasticsearchmachine pushed a commit that referenced this pull request Apr 1, 2025
This test failed when the `disk.indices.forecast` value was a decimal number.
We adjust the regex to allow decimal values and for consistency we also allow negative values.

Fixes #125711
Fixes #125848
Fixes #125661

(cherry picked from commit 8028d5a)

# Conflicts:
#	muted-tests.yml
elasticsearchmachine pushed a commit that referenced this pull request Apr 1, 2025
This test failed when the `disk.indices.forecast` value was a decimal number.
We adjust the regex to allow decimal values and for consistency we also allow negative values.

Fixes #125711
Fixes #125848
Fixes #125661

(cherry picked from commit 8028d5a)

# Conflicts:
#	muted-tests.yml
elasticsearchmachine pushed a commit that referenced this pull request Apr 1, 2025
This test failed when the `disk.indices.forecast` value was a decimal number.
We adjust the regex to allow decimal values and for consistency we also allow negative values.

Fixes #125711
Fixes #125848
Fixes #125661

(cherry picked from commit 8028d5a)

# Conflicts:
#	muted-tests.yml
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 backport pending :Data Management/CAT APIs Text APIs behind /_cat Team:Data Management Meta label for data/management team >test Issues or PRs that are addressing/adding tests v8.18.1 v8.19.0 v9.0.1 v9.1.0

Projects

None yet

3 participants