From 33ebd3851d51eb432e3c174b6a28b75c3d255342 Mon Sep 17 00:00:00 2001 From: ZePing Guo Date: Mon, 13 Jan 2025 18:14:50 +0800 Subject: [PATCH] skip certrain test --- .buildkite/generate_pipeline.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.buildkite/generate_pipeline.py b/.buildkite/generate_pipeline.py index 0fff8485219..2a065b4fcd4 100644 --- a/.buildkite/generate_pipeline.py +++ b/.buildkite/generate_pipeline.py @@ -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') @@ -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)