Skip to content

Commit

Permalink
chore(NODE-4593): fix mongosh integration tests (#3387)
Browse files Browse the repository at this point in the history
  • Loading branch information
addaleax authored and baileympearson committed Aug 31, 2022
1 parent 196c8f0 commit 72689f4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .evergreen/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1681,7 +1681,7 @@ tasks:
commands:
- func: install dependencies
vars:
NODE_LTS_NAME: fermium
NODE_LTS_NAME: gallium
- func: run mongosh integration tests
- name: run-custom-snappy-tests
tags:
Expand Down
2 changes: 1 addition & 1 deletion .evergreen/generate_evergreen_tasks.js
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ SINGLETON_TASKS.push({
{
func: 'install dependencies',
vars: {
NODE_LTS_NAME: 'fermium'
NODE_LTS_NAME: 'gallium'
}
},
{ func: 'run mongosh integration tests' }
Expand Down
7 changes: 7 additions & 0 deletions .evergreen/run-mongosh-integration-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,14 @@ set -o xtrace # Write all commands first to stderr

source "${PROJECT_DIRECTORY}/.evergreen/init-nvm.sh"

npm cache clear --force || true
npm i -g [email protected] || true

npm pack | tee npm-pack.log

npm cache clear --force || true
npm i -g [email protected] || true

export TARBALL_FILENAME="$(tail -n1 npm-pack.log)"
cd /tmp
git clone --depth=10 https://github.com/mongodb-js/mongosh.git
Expand Down

0 comments on commit 72689f4

Please sign in to comment.