Skip to content

Commit 605ada5

Browse files
authored
CXX-2799 sync Index Management tests (#1072)
1 parent 9f62d86 commit 605ada5

File tree

6 files changed

+19
-19
lines changed

6 files changed

+19
-19
lines changed

data/index-management/createSearchIndex.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
},
5656
"expectError": {
5757
"isError": true,
58-
"errorContains": "Search index commands are only supported with Atlas"
58+
"errorContains": "Atlas"
5959
}
6060
}
6161
],
@@ -102,7 +102,7 @@
102102
},
103103
"expectError": {
104104
"isError": true,
105-
"errorContains": "Search index commands are only supported with Atlas"
105+
"errorContains": "Atlas"
106106
}
107107
}
108108
],
@@ -133,4 +133,4 @@
133133
]
134134
}
135135
]
136-
}
136+
}

data/index-management/createSearchIndexes.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
},
5050
"expectError": {
5151
"isError": true,
52-
"errorContains": "Search index commands are only supported with Atlas"
52+
"errorContains": "Atlas"
5353
}
5454
}
5555
],
@@ -89,7 +89,7 @@
8989
},
9090
"expectError": {
9191
"isError": true,
92-
"errorContains": "Search index commands are only supported with Atlas"
92+
"errorContains": "Atlas"
9393
}
9494
}
9595
],
@@ -138,7 +138,7 @@
138138
},
139139
"expectError": {
140140
"isError": true,
141-
"errorContains": "Search index commands are only supported with Atlas"
141+
"errorContains": "Atlas"
142142
}
143143
}
144144
],
@@ -169,4 +169,4 @@
169169
]
170170
}
171171
]
172-
}
172+
}

data/index-management/dropSearchIndex.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
},
5050
"expectError": {
5151
"isError": true,
52-
"errorContains": "Search index commands are only supported with Atlas"
52+
"errorContains": "Atlas"
5353
}
5454
}
5555
],
@@ -71,4 +71,4 @@
7171
]
7272
}
7373
]
74-
}
74+
}

data/index-management/listSearchIndexes.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"object": "collection0",
4747
"expectError": {
4848
"isError": true,
49-
"errorContains": "Search index commands are only supported with Atlas"
49+
"errorContains": "Atlas"
5050
}
5151
}
5252
],
@@ -81,7 +81,7 @@
8181
},
8282
"expectError": {
8383
"isError": true,
84-
"errorContains": "Search index commands are only supported with Atlas"
84+
"errorContains": "Atlas"
8585
}
8686
}
8787
],
@@ -122,7 +122,7 @@
122122
},
123123
"expectError": {
124124
"isError": true,
125-
"errorContains": "Search index commands are only supported with Atlas"
125+
"errorContains": "Atlas"
126126
}
127127
}
128128
],
@@ -153,4 +153,4 @@
153153
]
154154
}
155155
]
156-
}
156+
}

data/index-management/searchIndexIgnoresReadWriteConcern.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
},
6060
"expectError": {
6161
"isError": true,
62-
"errorContains": "Search index commands are only supported with Atlas"
62+
"errorContains": "Atlas"
6363
}
6464
}
6565
],
@@ -105,7 +105,7 @@
105105
},
106106
"expectError": {
107107
"isError": true,
108-
"errorContains": "Search index commands are only supported with Atlas"
108+
"errorContains": "Atlas"
109109
}
110110
}
111111
],
@@ -143,7 +143,7 @@
143143
},
144144
"expectError": {
145145
"isError": true,
146-
"errorContains": "Search index commands are only supported with Atlas"
146+
"errorContains": "Atlas"
147147
}
148148
}
149149
],
@@ -178,7 +178,7 @@
178178
"object": "collection0",
179179
"expectError": {
180180
"isError": true,
181-
"errorContains": "Search index commands are only supported with Atlas"
181+
"errorContains": "Atlas"
182182
}
183183
}
184184
],
@@ -220,7 +220,7 @@
220220
},
221221
"expectError": {
222222
"isError": true,
223-
"errorContains": "Search index commands are only supported with Atlas"
223+
"errorContains": "Atlas"
224224
}
225225
}
226226
],

data/index-management/updateSearchIndex.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
},
5151
"expectError": {
5252
"isError": true,
53-
"errorContains": "Search index commands are only supported with Atlas"
53+
"errorContains": "Atlas"
5454
}
5555
}
5656
],

0 commit comments

Comments
 (0)