Skip to content

[core] Speed up test_runtime_env_conda_and_pip_3.py #52997

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
May 14, 2025

Conversation

edoakes
Copy link
Collaborator

@edoakes edoakes commented May 14, 2025

This test takes >300s in CI.

Speeding it up by:

  • Removing parametrization for file vs. python_object (doesn't have any affect on GC behavior).
  • Combining conda and pip conditions in the tests.

This should reduce the runtime by more than 2x.

Not using a shared cluster fixture because we need to set the system config differently with the way the tests are written.

@edoakes edoakes requested a review from a team May 14, 2025 14:45
Signed-off-by: Edward Oakes <[email protected]>
@edoakes edoakes force-pushed the eoakes/speed-up-re-3 branch from a7aa122 to a38161c Compare May 14, 2025 14:46
Signed-off-by: Edward Oakes <[email protected]>
@edoakes edoakes added the go add ONLY when ready to merge, run all tests label May 14, 2025
edoakes added 2 commits May 14, 2025 09:56
Signed-off-by: Edward Oakes <[email protected]>
Signed-off-by: Edward Oakes <[email protected]>
@edoakes edoakes enabled auto-merge (squash) May 14, 2025 18:32
@github-actions github-actions bot disabled auto-merge May 14, 2025 18:32
@edoakes edoakes merged commit 28c61da into ray-project:master May 14, 2025
6 checks passed
iamjustinhsu pushed a commit to iamjustinhsu/ray that referenced this pull request May 15, 2025
)

This test takes >300s in CI.

Speeding it up by:
- Removing parametrization for file vs. python_object (doesn't have any
affect on GC behavior).
- Combining conda and pip conditions in the tests.

This should reduce the runtime by more than 2x.

Not using a shared cluster fixture because we need to set the system
config differently with the way the tests are written.

---------

Signed-off-by: Edward Oakes <[email protected]>
Signed-off-by: iamjustinhsu <[email protected]>
lk-chen pushed a commit to lk-chen/ray that referenced this pull request May 17, 2025
)

This test takes >300s in CI.

Speeding it up by:
- Removing parametrization for file vs. python_object (doesn't have any
affect on GC behavior).
- Combining conda and pip conditions in the tests.

This should reduce the runtime by more than 2x.

Not using a shared cluster fixture because we need to set the system
config differently with the way the tests are written.

---------

Signed-off-by: Edward Oakes <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community-backlog go add ONLY when ready to merge, run all tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants