Skip to content

[Core] Disable formatting in test_add_min_workers_nodes#21322

Merged
pcmoritz merged 2 commits intoray-project:masterfrom
bveeramani:fmt-test-resource-demand-scheduler
Jan 2, 2022
Merged

[Core] Disable formatting in test_add_min_workers_nodes#21322
pcmoritz merged 2 commits intoray-project:masterfrom
bveeramani:fmt-test-resource-demand-scheduler

Conversation

@bveeramani
Copy link
Copy Markdown
Member

Why are these changes needed?

Black errors while formatting test_resource_demand_scheduler.py. The issue is caused by the assertions at the end of test_add_min_workers_nodes.

To prevent format.sh from erroring once we switch to Black, I've disabled formatting around the assertions.

Related issue number

Closes #21313. See also #21311.

Checks

  • I've run scripts/format.sh to lint the changes in this PR.
  • I've included any doc changes needed for https://docs.ray.io/en/master/.
  • I've made sure the tests are passing. Note that there might be a few flaky tests, see the recent failures at https://flakey-tests.ray.io/
  • Testing Strategy
    • Unit tests
    • Release tests
    • This PR is not tested :(

Copy link
Copy Markdown
Contributor

@pcmoritz pcmoritz left a comment

Choose a reason for hiding this comment

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

Test failures are unrelated, merging this :)

@pcmoritz pcmoritz merged commit fae5b9b into ray-project:master Jan 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CI] [Core] Prevent Black from erroring while formatting test_resource_demand_scheduler.py

3 participants