Skip to content

Commit

Permalink
Try to fix weird ray error in CI
Browse files Browse the repository at this point in the history
[ci deploy]
  • Loading branch information
polakowo committed Aug 27, 2021
1 parent b05ef29 commit 619f0df
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion tests/test_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@
try:
import ray

ray.init(ignore_reinit_error=True)
if ray.is_initialized():
ray.shutdown()
ray.init()
except:
ray_available = False

Expand Down
4 changes: 3 additions & 1 deletion tests/test_indicators.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@
try:
import ray

ray.init(ignore_reinit_error=True)
if ray.is_initialized():
ray.shutdown()
ray.init()
except:
ray_available = False

Expand Down

0 comments on commit 619f0df

Please sign in to comment.