Skip to content

Commit 1c96085

Browse files
committed
WIP
1 parent 040bcca commit 1c96085

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

.evergreen/config.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ functions:
434434
params:
435435
binary: "bash"
436436
env:
437-
SEARCH_INDEX_URI: "${MONGODB_URI}"
437+
SEARCH_INDEX_URI: "${SEARCH_INDEX_URI}"
438438
args: [*task-runner, evg-test-search-index]
439439

440440
add-aws-auth-variables-to-file:
@@ -2058,7 +2058,7 @@ task_groups:
20582058
params:
20592059
working_dir: src/go.mongodb.org/mongo-driver
20602060
binary: bash
2061-
include_expansions_in_env: [AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_SESSION_TOKEN, RAW_URI]
2061+
include_expansions_in_env: [AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_SESSION_TOKEN, MONGODB_URI]
20622062
env:
20632063
MONGODB_VERSION: ${VERSION}
20642064
LAMBDA_STACK_NAME: dbx-go-lambda
@@ -2067,6 +2067,12 @@ task_groups:
20672067
- command: expansions.update
20682068
params:
20692069
file: src/go.mongodb.org/mongo-driver/atlas-expansion.yml
2070+
- command: shell.exec
2071+
params:
2072+
working_dir: src/go.mongodb.org/mongo-driver
2073+
shell: bash
2074+
script: |-
2075+
echo "SEARCH_INDEX_URI: ${MONGODB_URI}" >> atlas-expansion.yml
20702076
teardown_group:
20712077
- command: subprocess.exec
20722078
params:

internal/integration/search_index_prose_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ func TestSearchIndexProse(t *testing.T) {
5454
Definition: definition,
5555
Options: opts,
5656
})
57-
require.NoErrorf(mt, err, "failed to create index: %q", os.Getenv("RAW_URI"))
57+
require.NoErrorf(mt, err, "failed to create index: %q", uri)
5858
require.Equal(mt, searchName, index, "unmatched name")
5959

6060
var doc bson.Raw

0 commit comments

Comments
 (0)