Skip to content

[8.x] [Dataset Quality] Fix brittle test which was failing in the midnight job (#216260)#216320

Merged
kibanamachine merged 1 commit intoelastic:8.xfrom
kibanamachine:backport/8.x/pr-216260
Mar 28, 2025
Merged

[8.x] [Dataset Quality] Fix brittle test which was failing in the midnight job (#216260)#216320
kibanamachine merged 1 commit intoelastic:8.xfrom
kibanamachine:backport/8.x/pr-216260

Conversation

@kibanamachine
Copy link
Contributor

Backport

This will backport the following commits from main to 8.x:

Questions ?

Please refer to the Backport tool documentation

…job (elastic#216260)

This PR fixes a bug where the test would run at midnight and due to the
odd timing, the index which gets created is asserted for a different
date than expected.

With this fix, we don't check the complete index name now by replacing
the date assertion part with startWith and endsWith assertions.

(cherry picked from commit 0f0ee3a)
@kibanamachine kibanamachine merged commit 5d4757b into elastic:8.x Mar 28, 2025
11 checks passed
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

cc @achyutjhunjhunwala

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

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants