Skip to content

Run search CCS YAML tests in a separate suite#139107

Merged
davidkyle merged 5 commits intoelastic:mainfrom
davidkyle:ccs-many-it
Dec 8, 2025
Merged

Run search CCS YAML tests in a separate suite#139107
davidkyle merged 5 commits intoelastic:mainfrom
davidkyle:ccs-many-it

Conversation

@davidkyle
Copy link
Copy Markdown
Member

@davidkyle davidkyle commented Dec 5, 2025

Running the entire yaml test set in a single test suite can often fail due to suite timeouts. Those timeouts lead to spurious failures that have to be investigated. This change reduces the number of tests run in a single suite by moving the search and msearch tests into a new test suite and introduces a new class controlling which suite should execute a particular test.

The changes here are easily extensible; just subclass CcsCommonYamlTestSuiteIT or RcsCcsCommonYamlTestSuiteIT then add a entry to TestSuiteApiCheck and the mapped APIs will only execute in the new suite.

Important: This is a temporary solution not a precedent

This change is to reduce failures due to timeouts in single large test suite. It is not necessary a pattern that should be copied elsewhere.

@davidkyle davidkyle added >test Issues or PRs that are addressing/adding tests :Search Relevance/Search Catch all for Search Relevance v9.3.0 labels Dec 5, 2025
@elasticsearchmachine elasticsearchmachine added the Team:Search Relevance Meta label for the Search Relevance team in Elasticsearch label Dec 5, 2025
@elasticsearchmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-search-relevance (Team:Search Relevance)

@davidkyle davidkyle requested a review from rjernst December 5, 2025 11:03
Copy link
Copy Markdown
Member

@rjernst rjernst left a comment

Choose a reason for hiding this comment

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

This seems ok as a temporary mechanism to reduce the test time. Can you please add a comment stressing that point? I don't want someone else coming along and copying this to another rest test project, at that point we need to implement some suite splitting in the rest test runner itself.

Copy link
Copy Markdown
Member

@benwtrent benwtrent left a comment

Choose a reason for hiding this comment

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

I agree, we should be clear that this is temporary and not a common patter to be copied, on all the classes

@davidkyle davidkyle changed the title Run search CCS YAML tests in a separte suite Run search CCS YAML tests in a separate suite Dec 8, 2025
@davidkyle davidkyle enabled auto-merge (squash) December 8, 2025 11:21
@davidkyle davidkyle merged commit fc7ac3c into elastic:main Dec 8, 2025
34 checks passed
carlosdelest added a commit to carlosdelest/elasticsearch that referenced this pull request Dec 9, 2025
carlosdelest added a commit that referenced this pull request Dec 9, 2025
davidkyle added a commit that referenced this pull request Dec 12, 2025
Follow on from #139107, those tests are handled by a different IT
john-wagster added a commit to john-wagster/elasticsearch that referenced this pull request Dec 12, 2025
elasticsearchmachine pushed a commit that referenced this pull request Dec 12, 2025
Unmuting additional test CCS test since it's a timeout related to fixes
here: #139107

Fixes: #139381
parkertimmins pushed a commit to parkertimmins/elasticsearch that referenced this pull request Dec 17, 2025
Unmuting additional test CCS test since it's a timeout related to fixes
here: elastic#139107

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

Labels

:Search Relevance/Search Catch all for Search Relevance Team:Search Relevance Meta label for the Search Relevance team in Elasticsearch >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.

4 participants