Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert core xpack rest tests to new test framework #100301

Merged
merged 3 commits into from Oct 4, 2023

Conversation

mark-vieira
Copy link
Contributor

This converts the x-pack core YAML tests to using the new test clusters testing framework.

Fixes #95334

@mark-vieira mark-vieira added >non-issue :Delivery/Build Build or test infrastructure auto-backport-and-merge Automatically create backport pull requests and merge when ready v8.10.3 v8.11.1 labels Oct 4, 2023
@elasticsearchmachine elasticsearchmachine added v8.12.0 Team:Delivery Meta label for Delivery team labels Oct 4, 2023
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-delivery (Team:Delivery)

@mark-vieira mark-vieira merged commit 8f591b2 into elastic:main Oct 4, 2023
10 of 11 checks passed
@mark-vieira mark-vieira deleted the convert-xpack-core-tests branch October 4, 2023 22:06
mark-vieira added a commit to mark-vieira/elasticsearch that referenced this pull request Oct 4, 2023
@elasticsearchmachine
Copy link
Collaborator

💔 Backport failed

Status Branch Result
8.10 Commit could not be cherrypicked due to conflicts
8.11

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

mark-vieira added a commit to mark-vieira/elasticsearch that referenced this pull request Oct 4, 2023
# Conflicts:
#	test/test-clusters/src/main/java/org/elasticsearch/test/cluster/FeatureFlag.java
#	x-pack/plugin/build.gradle
elasticsearchmachine pushed a commit that referenced this pull request Oct 4, 2023
# Conflicts:
#	test/test-clusters/src/main/java/org/elasticsearch/test/cluster/FeatureFlag.java
#	x-pack/plugin/build.gradle
@@ -15,7 +15,8 @@
* to indicate that this feature is required and should be enabled when appropriate.
*/
public enum FeatureFlag {
TIME_SERIES_MODE("es.index_mode_feature_flag_registered=true", Version.fromString("8.0.0"), null);
TIME_SERIES_MODE("es.index_mode_feature_flag_registered=true", Version.fromString("8.0.0"), null),
INFERENCE_RESCORER("es.inference_rescorer_feature_flag_enabled", Version.fromString("8.10.0"), null);
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this missing an =true? This PR seems to have caused #100362, so I think there's something different to before about the way the feature flag is set in release builds.

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 think you're right. I'll get this fixed.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-backport-and-merge Automatically create backport pull requests and merge when ready :Delivery/Build Build or test infrastructure >non-issue Team:Delivery Meta label for Delivery team v8.10.3 v8.11.1 v8.12.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

:x-pack:plugin:core:yamlRestTest failed because it could not write the ES config
3 participants