Skip to content

Commit

Permalink
skip certrain test
Browse files Browse the repository at this point in the history
  • Loading branch information
zpoint committed Jan 13, 2025
1 parent bfffac6 commit 33ebd38
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .buildkite/generate_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@
'kubernetes': QUEUE_KUBERNETES
}

# Skip tests that we do not have resources for.
SKIP_TESTS = ['test_tpu_pod_slice_gke']

GENERATED_FILE_HEAD = ('# This is an auto-generated Buildkite pipeline by '
'.buildkite/generate_pipeline.py, Please do not '
'edit directly.\n')
Expand Down Expand Up @@ -89,6 +92,8 @@ def _extract_marked_tests(
function_name_param_map = collections.defaultdict(list)
for function_name, marks in matches:
clean_function_name = re.sub(r'\[.*?\]', '', function_name)
if clean_function_name in SKIP_TESTS:
continue
marks = marks.replace('\'', '').split(',')
marks = [i.strip() for i in marks]
function_name_marks_map[clean_function_name].update(marks)
Expand Down

0 comments on commit 33ebd38

Please sign in to comment.