Skip to content

Commit

Permalink
fix UT
Browse files Browse the repository at this point in the history
  • Loading branch information
Catch-Bull committed Feb 25, 2022
1 parent 1b409f1 commit 37698a6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/ray/tests/test_runtime_env_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,10 @@ def modify_context(


def test_plugin_hang(ray_start_regular):
env_key = MyPluginForHang.env_key
@ray.remote(num_cpus=0.1)
def f():
return os.environ[MyPluginForHang.env_key]
return os.environ[env_key]

refs = [
f.options(
Expand Down

0 comments on commit 37698a6

Please sign in to comment.