Skip to content

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

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

kfstorm merged 2 commits into
ray-project:masterfrom
antgroup:java_test_config

Conversation

@kfstorm

@kfstorm kfstorm commented Jan 20, 2021

Copy link
Copy Markdown
Member

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

@chaokunyang chaokunyang left a comment

Copy link
Copy Markdown
Member

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