Skip to content

[Java] [Test] Move multi-worker config to ray.conf file#13583

Merged
kfstorm merged 2 commits intoray-project:masterfrom
antgroup:java_test_config
Jan 25, 2021
Merged

[Java] [Test] Move multi-worker config to ray.conf file#13583
kfstorm merged 2 commits intoray-project:masterfrom
antgroup:java_test_config

Conversation

@kfstorm
Copy link
Copy Markdown
Member

@kfstorm kfstorm commented Jan 20, 2021

Why are these changes needed?

Previously, the ray.job.num-java-workers-per-process is set to 10 only when running Java tests via java/test.sh. If we run Java tests via mvn test, it will fallback to the default value (which is 1), and some Java test cases will fail with mvn test because they require ray.job.num-java-workers-per-process > 1.

In this PR, we move the config to ray.conf file, so it will affect both java/test.sh and mvn test.

Related issue number

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
Member

@chaokunyang chaokunyang left a comment

Choose a reason for hiding this comment

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

LGTM

@kfstorm kfstorm merged commit e9103ee into ray-project:master Jan 25, 2021
@kfstorm kfstorm deleted the java_test_config branch January 25, 2021 10:07
fishbone added a commit to fishbone/ray that referenced this pull request Feb 16, 2021
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.

2 participants