Skip to content

[Test] Fix test_slurm_custom_partitions: use instance type defined in test config#7375

Open
gmarciani wants to merge 1 commit intoaws:developfrom
gmarciani:wip/mgiacomo/3160/custom-slurm-part-0504-1
Open

[Test] Fix test_slurm_custom_partitions: use instance type defined in test config#7375
gmarciani wants to merge 1 commit intoaws:developfrom
gmarciani:wip/mgiacomo/3160/custom-slurm-part-0504-1

Conversation

@gmarciani
Copy link
Copy Markdown
Contributor

@gmarciani gmarciani commented May 4, 2026

Description of changes

Fix test_slurm_custom_partitions so that it uses the parameterized instance type in job constraint rather than hard coded one. This fix is useful to prevent failures when we run the test with an instance type that is not c5.xlarge.

Tests

SUCCESS test_slurm_custom_partitions

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@gmarciani gmarciani added skip-changelog-update Disables the check that enforces changelog updates in PRs 3.x Test labels May 4, 2026
…ype in job constraint.

_test_active_job_running hardcoded "c5.xlarge" as the Slurm constraint,
causing failures when the test runs with a different instance type.
@gmarciani gmarciani force-pushed the wip/mgiacomo/3160/custom-slurm-part-0504-1 branch from fbe3655 to e4d4324 Compare May 4, 2026 22:35
@gmarciani gmarciani marked this pull request as ready for review May 4, 2026 22:37
@gmarciani gmarciani requested review from a team as code owners May 4, 2026 22:37
@gmarciani gmarciani changed the title [Test] Fix test_slurm_custom_partitions: use parameterized instance t… [Test] Fix test_slurm_custom_partitions: use instance type defined in test config May 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3.x skip-changelog-update Disables the check that enforces changelog updates in PRs Test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants