Skip to content

Commit 2489651

Browse files
committed
update data lake tests
1 parent 139599b commit 2489651

File tree

3 files changed

+9
-31
lines changed

3 files changed

+9
-31
lines changed

.evergreen/generated_configs/tasks.yml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,4 @@
11
tasks:
2-
# Atlas data lake tests
3-
- name: test-atlas-data-lake-without_ext
4-
commands:
5-
- func: run tests
6-
vars:
7-
TEST_NAME: data_lake
8-
NO_EXT: "1"
9-
tags: [atlas_data_lake]
10-
- name: test-atlas-data-lake-with_ext
11-
commands:
12-
- func: run tests
13-
vars:
14-
TEST_NAME: data_lake
15-
tags: [atlas_data_lake]
16-
172
# Aws lambda tests
183
- name: test-aws-lambda-deployed
194
commands:

.evergreen/generated_configs/variants.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,19 +69,21 @@ buildvariants:
6969
# Atlas data lake tests
7070
- name: atlas-data-lake-ubuntu-22-python3.9
7171
tasks:
72-
- name: .atlas_data_lake
72+
- name: .no-local-server
7373
display_name: Atlas Data Lake Ubuntu-22 Python3.9
7474
run_on:
7575
- ubuntu2204-small
7676
expansions:
77+
TEST_NAME: data_lake
7778
PYTHON_BINARY: /opt/python/3.9/bin/python3
7879
- name: atlas-data-lake-ubuntu-22-python3.13
7980
tasks:
80-
- name: .atlas_data_lake
81+
- name: .no-local-server
8182
display_name: Atlas Data Lake Ubuntu-22 Python3.13
8283
run_on:
8384
- ubuntu2204-small
8485
expansions:
86+
TEST_NAME: data_lake
8587
PYTHON_BINARY: /opt/python/3.13/bin/python3
8688

8789
# Aws auth tests

.evergreen/scripts/generate_config.py

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -368,9 +368,12 @@ def create_atlas_data_lake_variants():
368368
variants = []
369369
host = HOSTS["ubuntu22"]
370370
for python in MIN_MAX_PYTHON:
371-
tasks = [".atlas_data_lake"]
371+
tasks = [".no-local-server"]
372+
expansions = dict(TEST_NAME="data_lake")
372373
display_name = get_variant_name("Atlas Data Lake", host, python=python)
373-
variant = create_variant(tasks, display_name, host=host, python=python)
374+
variant = create_variant(
375+
tasks, display_name, host=host, python=python, expansions=expansions
376+
)
374377
variants.append(variant)
375378
return variants
376379

@@ -905,18 +908,6 @@ def create_perf_tasks():
905908
return tasks
906909

907910

908-
def create_atlas_data_lake_tasks():
909-
tags = ["atlas_data_lake"]
910-
tasks = []
911-
for c_ext in C_EXTS:
912-
vars = dict(TEST_NAME="data_lake")
913-
handle_c_ext(c_ext, vars)
914-
test_func = FunctionCall(func="run tests", vars=vars)
915-
task_name = f"test-atlas-data-lake-{c_ext}"
916-
tasks.append(EvgTask(name=task_name, tags=tags, commands=[test_func]))
917-
return tasks
918-
919-
920911
def create_getdata_tasks():
921912
# Wildcard task. Do you need to find out what tools are available and where?
922913
# Throw it here, and execute this task on all buildvariants

0 commit comments

Comments
 (0)