Skip to content

Conversation

@valeriy42
Copy link
Contributor

As suggested here, this PR changes deployments to low priority. Low priority deployments don't require specific processor allocations, allowing them to run in constrained environments. The test can now succeed in single-processor test environments where all processors are already allocated.

Since we don't test BWC for pre-8.6.0 versions, where priority was introduced, this change fixes the test.

Closes #101926

@valeriy42 valeriy42 added >test Issues or PRs that are addressing/adding tests auto-backport Automatically create backport pull requests when merged v9.0.9 v9.2.1 v9.1.7 :ml Machine learning test-full-bwc Trigger full BWC version matrix tests and removed v9.0.9 labels Oct 24, 2025
@valeriy42 valeriy42 marked this pull request as ready for review October 24, 2025 08:21
@elasticsearchmachine elasticsearchmachine added the Team:ML Meta label for the ML team label Oct 24, 2025
@elasticsearchmachine
Copy link
Collaborator

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

@valeriy42 valeriy42 requested a review from Copilot October 24, 2025 09:25
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes MlAssignmentPlannerUpgradeIT.testMlAssignmentPlannerUpgrade() by changing model deployments from normal to low priority, allowing the test to succeed in single-processor environments where all processors are already allocated. The key changes enable low-priority deployments that don't require specific processor allocations.

  • Removes the @AwaitsFix annotation from the failing test
  • Updates startDeployment method overloads to support priority parameter
  • Changes deployment priority from "normal" to "low" for test models

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@valeriy42 valeriy42 merged commit f446a4b into elastic:main Oct 24, 2025
34 checks passed
@valeriy42 valeriy42 deleted the tests/testMlAssignmentPlannerUpgrade branch October 24, 2025 13:26
valeriy42 added a commit to valeriy42/elasticsearch that referenced this pull request Oct 24, 2025
…elastic#137080)

As suggested here, this PR changes deployments to low priority. Low priority deployments don't require specific processor allocations, allowing them to run in constrained environments. The test can now succeed in single-processor test environments where all processors are already allocated.

Since we don't test BWC for pre-8.6.0 versions, where priority was introduced, this change fixes the test.
valeriy42 added a commit to valeriy42/elasticsearch that referenced this pull request Oct 24, 2025
…elastic#137080)

As suggested here, this PR changes deployments to low priority. Low priority deployments don't require specific processor allocations, allowing them to run in constrained environments. The test can now succeed in single-processor test environments where all processors are already allocated.

Since we don't test BWC for pre-8.6.0 versions, where priority was introduced, this change fixes the test.
@elasticsearchmachine
Copy link
Collaborator

💚 Backport successful

Status Branch Result
9.2
9.1

fzowl pushed a commit to voyage-ai/elasticsearch that referenced this pull request Nov 3, 2025
…elastic#137080)

As suggested here, this PR changes deployments to low priority. Low priority deployments don't require specific processor allocations, allowing them to run in constrained environments. The test can now succeed in single-processor test environments where all processors are already allocated.

Since we don't test BWC for pre-8.6.0 versions, where priority was introduced, this change fixes the test.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-backport Automatically create backport pull requests when merged :ml Machine learning Team:ML Meta label for the ML team >test Issues or PRs that are addressing/adding tests test-full-bwc Trigger full BWC version matrix tests v9.1.7 v9.2.1 v9.3.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CI] MlAssignmentPlannerUpgradeIT testMlAssignmentPlannerUpgrade failing

3 participants