Skip to content

Commit ac14a9f

Browse files
addaleaxdurran
authored andcommitted
chore(NODE-4593): fix mongosh integration tests (#3387)
1 parent 025d3f3 commit ac14a9f

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

.evergreen/config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1682,7 +1682,7 @@ tasks:
16821682
commands:
16831683
- func: install dependencies
16841684
vars:
1685-
NODE_LTS_NAME: fermium
1685+
NODE_LTS_NAME: gallium
16861686
- func: run mongosh integration tests
16871687
- name: run-custom-snappy-tests
16881688
tags:

.evergreen/generate_evergreen_tasks.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,7 @@ SINGLETON_TASKS.push({
483483
{
484484
func: 'install dependencies',
485485
vars: {
486-
NODE_LTS_NAME: 'fermium'
486+
NODE_LTS_NAME: 'gallium'
487487
}
488488
},
489489
{ func: 'run mongosh integration tests' }

.evergreen/run-mongosh-integration-tests.sh

+7
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,14 @@ set -o xtrace # Write all commands first to stderr
44

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

7+
npm cache clear --force || true
8+
npm i -g [email protected] || true
9+
710
npm pack | tee npm-pack.log
11+
12+
npm cache clear --force || true
13+
npm i -g [email protected] || true
14+
815
export TARBALL_FILENAME="$(tail -n1 npm-pack.log)"
916
cd /tmp
1017
git clone --depth=10 https://github.com/mongodb-js/mongosh.git

0 commit comments

Comments
 (0)