Skip to content

Commit

Permalink
use valid yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
gagik committed Dec 10, 2024
1 parent 90581ae commit 954a39c
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
12 changes: 12 additions & 0 deletions .evergreen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8183,6 +8183,17 @@ tasks:
mongosh_test_id: "types"
mongosh_run_only_in_package: "types"
task_name: ${task_name}
# TODO: This is an always failing test to check Foliage. Should be removed afterwards.
- name: test_always_failing
tags: ["assigned_to_jira_team_mongosh_mongosh", "unit-test"]
commands:
- command: shell.exec
type: setup
params:
working_dir: src
shell: bash
script: |
node -e "throw new Error()"

###
# INTEGRATION TESTS
Expand Down Expand Up @@ -15908,6 +15919,7 @@ buildvariants:
- name: test_vscode
- name: test_connectivity
- name: test_apistrict
- name: test_always_failing
- name: linux_coverage
display_name: "Ubuntu 20.04 x64 (Coverage and Static Analysis Check)"
run_on: ubuntu2004-small
Expand Down
14 changes: 13 additions & 1 deletion .evergreen/evergreen.yml.in
Original file line number Diff line number Diff line change
Expand Up @@ -1147,7 +1147,7 @@ tasks:
###
<% for (const { id, packageName } of ALL_UNIT_TESTS) { %>
- name: test_<% out(id) %>
tags: <% out(["assigned_to_jira_team_mongosh_mongosh", "unit-test"]) %>
tags: ["assigned_to_jira_team_mongosh_mongosh","unit-test"]
depends_on:
- name: compile_ts
variant: linux_compile
Expand All @@ -1165,6 +1165,17 @@ tasks:
mongosh_run_only_in_package: "<% out(packageName) %>"
task_name: ${task_name}
<% } %>
# TODO: This is an always failing test to check Foliage. Should be removed afterwards.
- name: test_always_failing
tags: ["assigned_to_jira_team_mongosh_mongosh", "unit-test"]
commands:
- command: shell.exec
type: setup
params:
working_dir: src
shell: bash
script: |
node -e "throw new Error()"

###
# INTEGRATION TESTS
Expand Down Expand Up @@ -1597,6 +1608,7 @@ buildvariants:
- name: test_vscode
- name: test_connectivity
- name: test_apistrict
- name: test_always_failing
- name: linux_coverage
display_name: "Ubuntu 20.04 x64 (Coverage and Static Analysis Check)"
run_on: ubuntu2004-small
Expand Down

0 comments on commit 954a39c

Please sign in to comment.