Skip to content

Commit 5e8f063

Browse files
authored
pin to libmongocrypt 1.5.0-alpha2 (#965)
1 parent 62908c2 commit 5e8f063

File tree

3 files changed

+59
-1
lines changed

3 files changed

+59
-1
lines changed

.evergreen/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ functions:
103103
export PATH=$PATH:/cygdrive/c/libmongocrypt/bin
104104
else
105105
# TODO (GODRIVER-2436): do not use alpha release of libmongocrypt.
106-
git clone https://github.com/mongodb/libmongocrypt --branch 1.5.0-alpha1
106+
git clone https://github.com/mongodb/libmongocrypt --branch 1.5.0-alpha2
107107
./libmongocrypt/.evergreen/compile.sh
108108
fi
109109

data/client-side-encryption/fle2-CreateCollection.json

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1469,6 +1469,18 @@
14691469
"database_name": "default"
14701470
}
14711471
},
1472+
{
1473+
"command_started_event": {
1474+
"command": {
1475+
"listCollections": 1,
1476+
"filter": {
1477+
"name": "encryptedCollection"
1478+
}
1479+
},
1480+
"command_name": "listCollections",
1481+
"database_name": "default"
1482+
}
1483+
},
14721484
{
14731485
"command_started_event": {
14741486
"command": {
@@ -1829,6 +1841,18 @@
18291841
"database_name": "default"
18301842
}
18311843
},
1844+
{
1845+
"command_started_event": {
1846+
"command": {
1847+
"listCollections": 1,
1848+
"filter": {
1849+
"name": "encryptedCollection"
1850+
}
1851+
},
1852+
"command_name": "listCollections",
1853+
"database_name": "default"
1854+
}
1855+
},
18321856
{
18331857
"command_started_event": {
18341858
"command": {
@@ -2132,6 +2156,18 @@
21322156
"database_name": "default"
21332157
}
21342158
},
2159+
{
2160+
"command_started_event": {
2161+
"command": {
2162+
"listCollections": 1,
2163+
"filter": {
2164+
"name": "encryptedCollection"
2165+
}
2166+
},
2167+
"command_name": "listCollections",
2168+
"database_name": "default"
2169+
}
2170+
},
21352171
{
21362172
"command_started_event": {
21372173
"command": {

data/client-side-encryption/fle2-CreateCollection.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# This test requires libmongocrypt 1.5.0-alpha2.
12
runOn:
23
- minServerVersion: "6.0.0"
34
# FLE 2 Encrypted collections are not supported on standalone.
@@ -821,6 +822,13 @@ tests:
821822
encryptedFields: *encrypted_fields5
822823
command_name: create
823824
database_name: *database_name
825+
# libmongocrypt requests listCollections to get a schema for the "createIndexes" command.
826+
- command_started_event:
827+
command:
828+
listCollections: 1
829+
filter: { name: "encryptedCollection" }
830+
command_name: listCollections
831+
database_name: *database_name
824832
# Index on __safeContents__ is then created.
825833
- command_started_event:
826834
command:
@@ -1028,6 +1036,13 @@ tests:
10281036
encryptedFields: *encrypted_fields6
10291037
command_name: create
10301038
database_name: *database_name
1039+
# libmongocrypt requests listCollections to get a schema for the "createIndexes" command.
1040+
- command_started_event:
1041+
command:
1042+
listCollections: 1
1043+
filter: { name: "encryptedCollection" }
1044+
command_name: listCollections
1045+
database_name: *database_name
10311046
# Index on __safeContents__ is then created.
10321047
- command_started_event:
10331048
command:
@@ -1201,6 +1216,13 @@ tests:
12011216
encryptedFields: *encrypted_fields7
12021217
command_name: create
12031218
database_name: *database_name
1219+
# libmongocrypt requests listCollections to get a schema for the "createIndexes" command.
1220+
- command_started_event:
1221+
command:
1222+
listCollections: 1
1223+
filter: { name: "encryptedCollection" }
1224+
command_name: listCollections
1225+
database_name: *database_name
12041226
# Index on __safeContents__ is then created.
12051227
- command_started_event:
12061228
command:

0 commit comments

Comments
 (0)