Skip to content

Commit

Permalink
Avoid modify test object before running tests
Browse files Browse the repository at this point in the history
Signed-off-by: can <can@anyscale.com>
  • Loading branch information
can-anyscale committed Jun 12, 2023
1 parent 5c0201f commit 8b65af9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions release/ray_release/buildkite/filter.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import re
import copy
from collections import defaultdict
from typing import List, Optional, Tuple, Dict, Any

Expand Down Expand Up @@ -40,8 +41,9 @@ def filter_tests(
if not run_jailed_tests:
if test.get("jailed", False):
continue
test.update_from_s3()
if test.is_jailed_with_open_issue(TestStateMachine.get_ray_repo()):
clone_test = copy.deepcopy(test)
clone_test.update_from_s3()
if clone_test.is_jailed_with_open_issue(TestStateMachine.get_ray_repo()):
continue

test_frequency = get_frequency(test["frequency"])
Expand Down

0 comments on commit 8b65af9

Please sign in to comment.