Skip to content

Commit c74b254

Browse files
committed
update mockupdb
1 parent a8a2832 commit c74b254

File tree

3 files changed

+8
-23
lines changed

3 files changed

+8
-23
lines changed

.evergreen/generated_configs/tasks.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1142,14 +1142,6 @@ tasks:
11421142
TEST_NAME: load_balancer
11431143
tags: [load-balancer, noauth, nossl]
11441144

1145-
# Mockupdb tests
1146-
- name: test-mockupdb
1147-
commands:
1148-
- func: run tests
1149-
vars:
1150-
TEST_NAME: mockupdb
1151-
tags: [mockupdb]
1152-
11531145
# Mod wsgi tests
11541146
- name: mod-wsgi-standalone
11551147
commands:

.evergreen/generated_configs/variants.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -567,14 +567,14 @@ buildvariants:
567567
batchtime: 10080
568568

569569
# Mockupdb tests
570-
- name: mockupdb-rhel8-python3.9
570+
- name: mockupdb-rhel8
571571
tasks:
572-
- name: .mockupdb
573-
display_name: MockupDB RHEL8 Python3.9
572+
- name: .no-local-server
573+
display_name: MockupDB RHEL8
574574
run_on:
575575
- rhel87-small
576576
expansions:
577-
PYTHON_BINARY: /opt/python/3.9/bin/python3
577+
TEST_NAME: mockupdb
578578

579579
# Mod wsgi tests
580580
- name: mod_wsgi-ubuntu-22-python3.9

.evergreen/scripts/generate_config.py

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -446,13 +446,13 @@ def create_search_index_variants():
446446

447447
def create_mockupdb_variants():
448448
host = DEFAULT_HOST
449-
python = CPYTHONS[0]
449+
expansions = dict(TEST_NAME="mockupdb")
450450
return [
451451
create_variant(
452-
[".mockupdb"],
453-
get_variant_name("MockupDB", host, python=python),
454-
python=python,
452+
[".no-local-server"],
453+
get_variant_name("MockupDB", host),
455454
host=host,
455+
expansions=expansions,
456456
)
457457
]
458458

@@ -981,13 +981,6 @@ def create_ocsp_tasks():
981981
return tasks
982982

983983

984-
def create_mockupdb_tasks():
985-
test_func = FunctionCall(func="run tests", vars=dict(TEST_NAME="mockupdb"))
986-
task_name = "test-mockupdb"
987-
tags = ["mockupdb"]
988-
return [EvgTask(name=task_name, tags=tags, commands=[test_func])]
989-
990-
991984
def create_doctest_tasks():
992985
server_func = FunctionCall(func="run server")
993986
test_func = FunctionCall(func="run just script", vars=dict(JUSTFILE_TARGET="docs-test"))

0 commit comments

Comments
 (0)