Skip to content

[8.x] [ftr] split feature controls tests into v1/v2 configs (#217458)#217634

Closed
dmlemeshko wants to merge 1 commit intoelastic:8.xfrom
dmlemeshko:backport/8.x/pr-217458
Closed

[8.x] [ftr] split feature controls tests into v1/v2 configs (#217458)#217634
dmlemeshko wants to merge 1 commit intoelastic:8.xfrom
dmlemeshko:backport/8.x/pr-217458

Conversation

@dmlemeshko
Copy link
Contributor

Backport

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

Questions ?

Please refer to the Backport tool documentation

## Summary

Splitting long running config:
`x-pack/test/functional/apps/saved_query_management/config.ts` **~57
min** into

  - x-pack/test/functional/apps/saved_query_management/config.ts 35m
- x-pack/test/functional/apps/saved_query_management/config.v2.ts 25m
17s

ideally we need to split both even more, but I will leave it for the
later (probably Data-Discovery Team have some ideas how to re-org it?)

(cherry picked from commit a234f36)

# Conflicts:
#	x-pack/test/functional/apps/saved_query_management/feature_controls/security.ts
@dmlemeshko dmlemeshko added the backport This PR is a backport of another PR label Apr 9, 2025
@dmlemeshko dmlemeshko enabled auto-merge (squash) April 9, 2025 09:43
@jughosta
Copy link
Contributor

jughosta commented Apr 9, 2025

We introduced v2 only in 9.x. So I don't think it needs to be backported to 8.x.
cc @davismcphee

I will disable auto merge for now.

@jughosta jughosta disabled auto-merge April 9, 2025 09:57
@dmlemeshko dmlemeshko requested a review from pheyos April 9, 2025 09:57
@elasticmachine
Copy link
Contributor

💔 Build Failed

Failed CI Steps

@dmlemeshko
Copy link
Contributor Author

Backport contains only v1 tests, but with a new structure. I was hoping it may simplify backporting of test logic in the future. If it is redundant, happy to close it.

@davismcphee
Copy link
Contributor

@jughosta Thanks for the heads up, I overlooked the backport label in my review. I think we're ok to leave things as they are in 8.x and close this one out. If it becomes an obstacle in the future, we could pick it back up.

@dmlemeshko
Copy link
Contributor Author

Thanks for checking, closing

@dmlemeshko dmlemeshko closed this Apr 10, 2025
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.

4 participants