Skip to content

Commit 5f273f1

Browse files
authored
K8SPSMDB-886 - Fix init-deploy test for 6.0 and remove some minikube (#1344)
tests
1 parent 69bf5cf commit 5f273f1

File tree

5 files changed

+66
-15
lines changed

5 files changed

+66
-15
lines changed

e2e-tests/init-deploy/compare/backup-60.json

Lines changed: 47 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,11 @@
3939
"convertToCapped",
4040
"createCollection",
4141
"createIndex",
42+
"createSearchIndexes",
4243
"dropCollection",
4344
"find",
44-
"insert"
45+
"insert",
46+
"updateSearchIndex"
4547
]
4648
},
4749
{
@@ -59,6 +61,7 @@
5961
"createCollection",
6062
"createIndex",
6163
"createRole",
64+
"createSearchIndexes",
6265
"createUser",
6366
"dbStats",
6467
"dropCollection",
@@ -73,6 +76,7 @@
7376
"revokeRole",
7477
"setAuthenticationRestriction",
7578
"startBackup",
79+
"updateSearchIndex",
7680
"viewRole",
7781
"viewUser"
7882
]
@@ -88,9 +92,11 @@
8892
"convertToCapped",
8993
"createCollection",
9094
"createIndex",
95+
"createSearchIndexes",
9196
"dropCollection",
9297
"find",
93-
"insert"
98+
"insert",
99+
"updateSearchIndex"
94100
]
95101
},
96102
{
@@ -113,11 +119,13 @@
113119
"convertToCapped",
114120
"createCollection",
115121
"createIndex",
122+
"createSearchIndexes",
116123
"dropCollection",
117124
"find",
118125
"insert",
119126
"remove",
120-
"update"
127+
"update",
128+
"updateSearchIndex"
121129
]
122130
},
123131
{
@@ -132,19 +140,23 @@
132140
"convertToCapped",
133141
"createCollection",
134142
"createIndex",
143+
"createSearchIndexes",
135144
"dbHash",
136145
"dbStats",
137146
"dropCollection",
138147
"dropIndex",
148+
"dropSearchIndex",
139149
"find",
140150
"insert",
141151
"killCursors",
142152
"listCollections",
143153
"listIndexes",
154+
"listSearchIndexes",
144155
"planCacheRead",
145156
"remove",
146157
"renameCollectionSameDB",
147-
"update"
158+
"update",
159+
"updateSearchIndex"
148160
]
149161
},
150162
{
@@ -158,9 +170,11 @@
158170
"convertToCapped",
159171
"createCollection",
160172
"createIndex",
173+
"createSearchIndexes",
161174
"dropCollection",
162175
"find",
163-
"insert"
176+
"insert",
177+
"updateSearchIndex"
164178
]
165179
},
166180
{
@@ -175,19 +189,23 @@
175189
"convertToCapped",
176190
"createCollection",
177191
"createIndex",
192+
"createSearchIndexes",
178193
"dbHash",
179194
"dbStats",
180195
"dropCollection",
181196
"dropIndex",
197+
"dropSearchIndex",
182198
"find",
183199
"insert",
184200
"killCursors",
185201
"listCollections",
186202
"listIndexes",
203+
"listSearchIndexes",
187204
"planCacheRead",
188205
"remove",
189206
"renameCollectionSameDB",
190-
"update"
207+
"update",
208+
"updateSearchIndex"
191209
]
192210
},
193211
{
@@ -197,6 +215,7 @@
197215
},
198216
"actions": [
199217
"createIndex",
218+
"createSearchIndexes",
200219
"find"
201220
]
202221
},
@@ -211,9 +230,11 @@
211230
"convertToCapped",
212231
"createCollection",
213232
"createIndex",
233+
"createSearchIndexes",
214234
"dropCollection",
215235
"find",
216-
"insert"
236+
"insert",
237+
"updateSearchIndex"
217238
]
218239
},
219240
{
@@ -247,6 +268,7 @@
247268
"convertToCapped",
248269
"createCollection",
249270
"createIndex",
271+
"createSearchIndexes",
250272
"dbHash",
251273
"dbStats",
252274
"dropCollection",
@@ -258,7 +280,9 @@
258280
"killCursors",
259281
"listCollections",
260282
"listIndexes",
261-
"planCacheRead"
283+
"listSearchIndexes",
284+
"planCacheRead",
285+
"updateSearchIndex"
262286
]
263287
},
264288
{
@@ -286,6 +310,7 @@
286310
"killCursors",
287311
"listCollections",
288312
"listIndexes",
313+
"listSearchIndexes",
289314
"planCacheRead"
290315
]
291316
},
@@ -315,6 +340,7 @@
315340
"convertToCapped",
316341
"createCollection",
317342
"createIndex",
343+
"createSearchIndexes",
318344
"dbHash",
319345
"dbStats",
320346
"dropCollection",
@@ -326,7 +352,9 @@
326352
"killCursors",
327353
"listCollections",
328354
"listIndexes",
329-
"planCacheRead"
355+
"listSearchIndexes",
356+
"planCacheRead",
357+
"updateSearchIndex"
330358
]
331359
},
332360
{
@@ -340,9 +368,11 @@
340368
"convertToCapped",
341369
"createCollection",
342370
"createIndex",
371+
"createSearchIndexes",
343372
"dropCollection",
344373
"find",
345-
"insert"
374+
"insert",
375+
"updateSearchIndex"
346376
]
347377
},
348378
{
@@ -356,9 +386,11 @@
356386
"convertToCapped",
357387
"createCollection",
358388
"createIndex",
389+
"createSearchIndexes",
359390
"dropCollection",
360391
"find",
361-
"insert"
392+
"insert",
393+
"updateSearchIndex"
362394
]
363395
},
364396
{
@@ -375,6 +407,7 @@
375407
"killCursors",
376408
"listCollections",
377409
"listIndexes",
410+
"listSearchIndexes",
378411
"planCacheRead"
379412
]
380413
},
@@ -389,9 +422,11 @@
389422
"convertToCapped",
390423
"createCollection",
391424
"createIndex",
425+
"createSearchIndexes",
392426
"dropCollection",
393427
"find",
394-
"insert"
428+
"insert",
429+
"updateSearchIndex"
395430
]
396431
},
397432
{

e2e-tests/init-deploy/compare/clusterAdmin-60.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@
7878
"killCursors",
7979
"listCollections",
8080
"listIndexes",
81+
"listSearchIndexes",
8182
"moveChunk",
8283
"planCacheRead",
8384
"refineCollectionShardKey",
@@ -102,6 +103,7 @@
102103
"killCursors",
103104
"listCollections",
104105
"listIndexes",
106+
"listSearchIndexes",
105107
"planCacheRead"
106108
]
107109
},
@@ -138,6 +140,7 @@
138140
"killCursors",
139141
"listCollections",
140142
"listIndexes",
143+
"listSearchIndexes",
141144
"moveChunk",
142145
"planCacheRead",
143146
"refineCollectionShardKey",
@@ -186,6 +189,7 @@
186189
"killCursors",
187190
"listCollections",
188191
"listIndexes",
192+
"listSearchIndexes",
189193
"planCacheRead"
190194
]
191195
},
@@ -203,6 +207,7 @@
203207
"killCursors",
204208
"listCollections",
205209
"listIndexes",
210+
"listSearchIndexes",
206211
"planCacheRead"
207212
]
208213
},
@@ -220,6 +225,7 @@
220225
"killCursors",
221226
"listCollections",
222227
"listIndexes",
228+
"listSearchIndexes",
223229
"planCacheRead"
224230
]
225231
},

e2e-tests/init-deploy/compare/clusterMonitor-60.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@
6767
"killCursors",
6868
"listCollections",
6969
"listIndexes",
70+
"listSearchIndexes",
7071
"planCacheRead"
7172
]
7273
},
@@ -84,6 +85,7 @@
8485
"killCursors",
8586
"listCollections",
8687
"listIndexes",
88+
"listSearchIndexes",
8789
"planCacheRead"
8890
]
8991
},
@@ -117,6 +119,7 @@
117119
"killCursors",
118120
"listCollections",
119121
"listIndexes",
122+
"listSearchIndexes",
120123
"planCacheRead"
121124
]
122125
},
@@ -152,6 +155,7 @@
152155
"killCursors",
153156
"listCollections",
154157
"listIndexes",
158+
"listSearchIndexes",
155159
"planCacheRead"
156160
]
157161
},

e2e-tests/init-deploy/compare/userAdmin-60.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747
"killCursors",
4848
"listCollections",
4949
"listIndexes",
50+
"listSearchIndexes",
5051
"planCacheRead"
5152
]
5253
},
@@ -64,6 +65,7 @@
6465
"killCursors",
6566
"listCollections",
6667
"listIndexes",
68+
"listSearchIndexes",
6769
"planCacheRead"
6870
]
6971
},
@@ -76,13 +78,16 @@
7678
"changeStream",
7779
"collStats",
7880
"createIndex",
81+
"createSearchIndexes",
7982
"dbHash",
8083
"dbStats",
8184
"dropIndex",
85+
"dropSearchIndex",
8286
"find",
8387
"killCursors",
8488
"listCollections",
8589
"listIndexes",
90+
"listSearchIndexes",
8691
"planCacheRead"
8792
]
8893
},
@@ -95,13 +100,16 @@
95100
"changeStream",
96101
"collStats",
97102
"createIndex",
103+
"createSearchIndexes",
98104
"dbHash",
99105
"dbStats",
100106
"dropIndex",
107+
"dropSearchIndex",
101108
"find",
102109
"killCursors",
103110
"listCollections",
104111
"listIndexes",
112+
"listSearchIndexes",
105113
"planCacheRead"
106114
]
107115
},
@@ -119,6 +127,7 @@
119127
"killCursors",
120128
"listCollections",
121129
"listIndexes",
130+
"listSearchIndexes",
122131
"planCacheRead"
123132
]
124133
},

e2e-tests/run-minikube.csv

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
arbiter
2-
balancer
3-
custom-replset-name
42
default-cr
53
demand-backup
64
demand-backup-physical
7-
finalizer
85
limits
96
liveness
107
mongod-major-upgrade

0 commit comments

Comments
 (0)