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

[ML] Fix for missed renaming in upgrade tests #108389

Merged
merged 1 commit into from May 7, 2024

Conversation

maxhniebergall
Copy link
Member

Some muted tests were missed in a recent PR, this change updates the ones in the muted upgrade tests

@maxhniebergall maxhniebergall added the auto-merge Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) label May 7, 2024
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/ml-core (Team:ML)

@elasticsearchmachine elasticsearchmachine added the Team:ML Meta label for the ML team label May 7, 2024
@maxhniebergall maxhniebergall changed the title Fix for missed renaming in upgrade tests [ML] Fix for missed renaming in upgrade tests May 7, 2024
@@ -71,7 +71,7 @@ public void testCohereEmbeddings() throws IOException {
cohereEmbeddingsServer.enqueue(new MockResponse().setResponseCode(200).setBody(embeddingResponseFloat()));
put(oldClusterIdFloat, embeddingConfigFloat(getUrl(cohereEmbeddingsServer)), TaskType.TEXT_EMBEDDING);

var configs = (List<Map<String, Object>>) get(TaskType.TEXT_EMBEDDING, oldClusterIdInt8).get("models");
var configs = (List<Map<String, Object>>) get(TaskType.TEXT_EMBEDDING, oldClusterIdInt8).get("endpoints");
Copy link
Contributor

Choose a reason for hiding this comment

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

Are these changes trying to address the fact that these tests are muted? Or is it to bring the naming in alignment?

#107887

Copy link
Member Author

Choose a reason for hiding this comment

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

This change won't fix these tests, but this change is required for the tests to be fixed/unmuted. I just noticed that these tests were broken when I copied them into my new mixed cluster tests.

@elasticsearchmachine elasticsearchmachine merged commit fb84a22 into main May 7, 2024
16 checks passed
@elasticsearchmachine elasticsearchmachine deleted the infUpgradeTestUpdate branch May 7, 2024 20:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-merge Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) :ml Machine learning >non-issue Team:ML Meta label for the ML team v8.15.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants