Skip to content

Commit 68f448f

Browse files
committed
fix lambda and search index tests
1 parent a60869b commit 68f448f

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.evergreen/generated_configs/tasks.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ tasks:
66
- func: run tests
77
vars:
88
TEST_NAME: aws_lambda
9+
PYTHON_VERSION: "3.10"
910
tags: [aws_lambda]
1011

1112
# Aws tests
@@ -2385,6 +2386,7 @@ tasks:
23852386
- func: run tests
23862387
vars:
23872388
TEST_NAME: search_index
2389+
PYTHON_VERSION: "3.10"
23882390
tags: [search_index]
23892391

23902392
# Server version tests

.evergreen/generated_configs/variants.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -453,10 +453,10 @@ buildvariants:
453453
SUB_TEST_NAME: pyopenssl
454454

455455
# Search index tests
456-
- name: search-index-helpers-rhel8-python3.10
456+
- name: search-index-helpers-rhel8
457457
tasks:
458458
- name: .search_index
459-
display_name: Search Index Helpers RHEL8 Python3.10
459+
display_name: Search Index Helpers RHEL8
460460
run_on:
461461
- rhel87-small
462462

.evergreen/scripts/generate_config.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -356,12 +356,10 @@ def create_oidc_auth_variants():
356356

357357
def create_search_index_variants():
358358
host = DEFAULT_HOST
359-
python = CPYTHONS[0]
360359
return [
361360
create_variant(
362361
[".search_index"],
363-
get_variant_name("Search Index Helpers", host, python=python),
364-
python=python,
362+
get_variant_name("Search Index Helpers", host),
365363
host=host,
366364
)
367365
]
@@ -852,7 +850,7 @@ def _create_ocsp_tasks(algo, variant, server_type, base_task_name):
852850

853851
def create_aws_lambda_tasks():
854852
assume_func = FunctionCall(func="assume ec2 role")
855-
vars = dict(TEST_NAME="aws_lambda")
853+
vars = dict(TEST_NAME="aws_lambda", PYTHON_VERSION=CPYTHONS[0])
856854
test_func = FunctionCall(func="run tests", vars=vars)
857855
task_name = "test-aws-lambda-deployed"
858856
tags = ["aws_lambda"]
@@ -863,7 +861,7 @@ def create_aws_lambda_tasks():
863861
def create_search_index_tasks():
864862
assume_func = FunctionCall(func="assume ec2 role")
865863
server_func = FunctionCall(func="run server", vars=dict(TEST_NAME="search_index"))
866-
vars = dict(TEST_NAME="search_index")
864+
vars = dict(TEST_NAME="search_index", PYTHON_VERSION=CPYTHONS[0])
867865
test_func = FunctionCall(func="run tests", vars=vars)
868866
task_name = "test-search-index-helpers"
869867
tags = ["search_index"]

0 commit comments

Comments
 (0)