Skip to content

[core] Speed up & deflake test_multitenancy.py#53674

Merged
edoakes merged 2 commits intoray-project:masterfrom
edoakes:eoakes/speedup-test-multi-tenancy
Jun 10, 2025
Merged

[core] Speed up & deflake test_multitenancy.py#53674
edoakes merged 2 commits intoray-project:masterfrom
edoakes:eoakes/speedup-test-multi-tenancy

Conversation

@edoakes
Copy link
Copy Markdown
Collaborator

@edoakes edoakes commented Jun 9, 2025

Saw this flake on postmerge.

Cleaned up the test in general:

  • Remove sleep conditions.
  • Remove use of direct gRPC connection to raylet.
  • Remove runtime_env test that was redundant with test_runtime_env_env_vars.py.

Runtime decreased by ~50% locally, from 62.98s to 33.48s.

edoakes added 2 commits June 9, 2025 15:33
Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
@edoakes edoakes added the go add ONLY when ready to merge, run all tests label Jun 9, 2025
@edoakes edoakes requested a review from a team June 9, 2025 20:35
Copy link
Copy Markdown
Contributor

@can-anyscale can-anyscale left a comment

Choose a reason for hiding this comment

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

@edoakes edoakes merged commit 4789761 into ray-project:master Jun 10, 2025
5 checks passed
elliot-barn pushed a commit that referenced this pull request Jun 18, 2025
Saw this flake on
[postmerge](https://buildkite.com/ray-project/postmerge/builds/10702#01975572-3a26-4e0b-b27d-0869ac5830fe/177-1191).

Cleaned up the test in general:

- Remove sleep conditions.
- Remove use of direct gRPC connection to raylet.
- Remove runtime_env test that was redundant with
`test_runtime_env_env_vars.py`.

Runtime decreased by ~50% locally, from `62.98s` to `33.48s`.

---------

Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Signed-off-by: elliot-barn <elliot.barnwell@anyscale.com>
elliot-barn pushed a commit that referenced this pull request Jul 2, 2025
Saw this flake on
[postmerge](https://buildkite.com/ray-project/postmerge/builds/10702#01975572-3a26-4e0b-b27d-0869ac5830fe/177-1191).

Cleaned up the test in general:

- Remove sleep conditions.
- Remove use of direct gRPC connection to raylet.
- Remove runtime_env test that was redundant with
`test_runtime_env_env_vars.py`.

Runtime decreased by ~50% locally, from `62.98s` to `33.48s`.

---------

Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Signed-off-by: elliot-barn <elliot.barnwell@anyscale.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

go add ONLY when ready to merge, run all tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants