Skip to content

Commit 3d21d1a

Browse files
authored
CLOUDP-344284: atlas_deployments_windows_11 failures (#4327)
1 parent ca38f08 commit 3d21d1a

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

build/ci/evergreen.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -428,6 +428,8 @@ functions:
428428
- -auto-approve
429429
- -var
430430
- "certificate_path=${certificate_path}"
431+
- -var
432+
- "admin_password=${azure_vm_admin_password}"
431433
"ssh-ready":
432434
- command: shell.exec
433435
params:

build/ci/win_test.ps1

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ git checkout $REVISION
2525
Write-Output "Vendor dependencies"
2626
$env:GOPROXY=$GOPROXY
2727
tar -xzf ../vendor.tar.gz
28+
Write-Output "Docker pull"
29+
docker pull "mongodb/mongodb-atlas-local:latest"
2830
Write-Output "Run tests"
2931
$env:TEST_CMD="gotestsum --junitfile e2e-tests.xml --format standard-verbose --"
3032
$env:E2E_TEST_PACKAGES="./test/e2e/atlas/deployments/local/..."

test/internal/env.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ func repoPath() (string, error) {
168168
return "", err
169169
}
170170

171-
parts := strings.Split(wd, "/test/")
171+
parts := strings.Split(wd, fmt.Sprintf("%ctest%c", os.PathSeparator, os.PathSeparator))
172172

173173
return parts[0], nil
174174
}

0 commit comments

Comments
 (0)