Skip to content

Commit f4e7b11

Browse files
authored
chore(ci): add an always failing test to check Foliage integration (#2292)
1 parent 90581ae commit f4e7b11

File tree

2 files changed

+25
-1
lines changed

2 files changed

+25
-1
lines changed

.evergreen.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8183,6 +8183,17 @@ tasks:
81838183
mongosh_test_id: "types"
81848184
mongosh_run_only_in_package: "types"
81858185
task_name: ${task_name}
8186+
# TODO: This is an always failing test to check Foliage. Should be removed afterwards.
8187+
- name: test_always_failing
8188+
tags: ["assigned_to_jira_team_mongosh_mongosh", "unit-test"]
8189+
commands:
8190+
- command: shell.exec
8191+
type: setup
8192+
params:
8193+
working_dir: src
8194+
shell: bash
8195+
script: |
8196+
node -e "throw new Error()"
81868197

81878198
###
81888199
# INTEGRATION TESTS
@@ -15908,6 +15919,7 @@ buildvariants:
1590815919
- name: test_vscode
1590915920
- name: test_connectivity
1591015921
- name: test_apistrict
15922+
- name: test_always_failing
1591115923
- name: linux_coverage
1591215924
display_name: "Ubuntu 20.04 x64 (Coverage and Static Analysis Check)"
1591315925
run_on: ubuntu2004-small

.evergreen/evergreen.yml.in

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1147,7 +1147,7 @@ tasks:
11471147
###
11481148
<% for (const { id, packageName } of ALL_UNIT_TESTS) { %>
11491149
- name: test_<% out(id) %>
1150-
tags: <% out(["assigned_to_jira_team_mongosh_mongosh", "unit-test"]) %>
1150+
tags: ["assigned_to_jira_team_mongosh_mongosh","unit-test"]
11511151
depends_on:
11521152
- name: compile_ts
11531153
variant: linux_compile
@@ -1165,6 +1165,17 @@ tasks:
11651165
mongosh_run_only_in_package: "<% out(packageName) %>"
11661166
task_name: ${task_name}
11671167
<% } %>
1168+
# TODO: This is an always failing test to check Foliage. Should be removed afterwards.
1169+
- name: test_always_failing
1170+
tags: ["assigned_to_jira_team_mongosh_mongosh", "unit-test"]
1171+
commands:
1172+
- command: shell.exec
1173+
type: setup
1174+
params:
1175+
working_dir: src
1176+
shell: bash
1177+
script: |
1178+
node -e "throw new Error()"
11681179

11691180
###
11701181
# INTEGRATION TESTS
@@ -1597,6 +1608,7 @@ buildvariants:
15971608
- name: test_vscode
15981609
- name: test_connectivity
15991610
- name: test_apistrict
1611+
- name: test_always_failing
16001612
- name: linux_coverage
16011613
display_name: "Ubuntu 20.04 x64 (Coverage and Static Analysis Check)"
16021614
run_on: ubuntu2004-small

0 commit comments

Comments
 (0)