1
1
description : " change-streams"
2
+
2
3
schemaVersion : " 1.7"
4
+
3
5
runOnRequirements :
4
6
- minServerVersion : " 3.6"
5
- topologies : [ replicaset, sharded-replicaset ]
7
+ # TODO(DRIVERS-2323): Run all possible tests against sharded clusters once we know the
8
+ # cause of unexpected command monitoring events.
9
+ topologies : [ replicaset ]
10
+
6
11
createEntities :
7
12
- client :
8
13
id : &client0 client0
@@ -175,10 +180,6 @@ tests:
175
180
- description : " Test that comment is set on getMore"
176
181
runOnRequirements :
177
182
- minServerVersion : " 4.4.0"
178
- # Topologies are limited because of potentially empty getMore responses
179
- # on sharded clusters.
180
- # See https://jira.mongodb.org/browse/DRIVERS-2248 for more details.
181
- topologies : [ replicaset ]
182
183
operations :
183
184
- name : createChangeStream
184
185
object : *collection0
@@ -220,10 +221,6 @@ tests:
220
221
- description : " Test that comment is not set on getMore - pre 4.4"
221
222
runOnRequirements :
222
223
- maxServerVersion : " 4.3.99"
223
- # Topologies are limited because of potentially empty getMore responses
224
- # on sharded clusters.
225
- # See https://jira.mongodb.org/browse/DRIVERS-2248 for more details.
226
- topologies : [ replicaset ]
227
224
operations :
228
225
- name : createChangeStream
229
226
object : *collection0
@@ -330,6 +327,10 @@ tests:
330
327
newField : " newFieldValue"
331
328
332
329
- description : " Test new structure in ns document MUST NOT err"
330
+ runOnRequirements :
331
+ - minServerVersion : " 3.6"
332
+ maxServerVersion : " 5.2.99"
333
+ - minServerVersion : " 6.0"
333
334
operations :
334
335
- name : createChangeStream
335
336
object : *collection0
@@ -413,7 +414,6 @@ tests:
413
414
- description : $changeStream must be the first stage in a change stream pipeline sent to the server
414
415
runOnRequirements :
415
416
- minServerVersion : " 3.6.0"
416
- topologies : [ replicaset ]
417
417
operations :
418
418
- name : createChangeStream
419
419
object : *collection0
@@ -450,7 +450,6 @@ tests:
450
450
- description : The server returns change stream responses in the specified server response format
451
451
runOnRequirements :
452
452
- minServerVersion : " 3.6.0"
453
- topologies : [ replicaset ]
454
453
operations :
455
454
- name : createChangeStream
456
455
object : *collection0
@@ -476,7 +475,6 @@ tests:
476
475
- description : Executing a watch helper on a Collection results in notifications for changes to the specified collection
477
476
runOnRequirements :
478
477
- minServerVersion : " 3.6.0"
479
- topologies : [ replicaset ]
480
478
operations :
481
479
- name : createChangeStream
482
480
object : *collection0
@@ -519,7 +517,6 @@ tests:
519
517
- description : Change Stream should allow valid aggregate pipeline stages
520
518
runOnRequirements :
521
519
- minServerVersion : " 3.6.0"
522
- topologies : [ replicaset ]
523
520
operations :
524
521
- name : createChangeStream
525
522
object : *collection0
@@ -564,7 +561,6 @@ tests:
564
561
- description : Executing a watch helper on a Database results in notifications for changes to all collections in the specified database.
565
562
runOnRequirements :
566
563
- minServerVersion : " 3.8.0"
567
- topologies : [ replicaset ]
568
564
operations :
569
565
- name : createChangeStream
570
566
object : *database0
@@ -617,7 +613,6 @@ tests:
617
613
- description : Executing a watch helper on a MongoClient results in notifications for changes to all collections in all databases in the cluster.
618
614
runOnRequirements :
619
615
- minServerVersion : " 3.8.0"
620
- topologies : [ replicaset ]
621
616
operations :
622
617
- name : createChangeStream
623
618
object : *client0
@@ -681,7 +676,6 @@ tests:
681
676
- description : " Test insert, update, replace, and delete event types"
682
677
runOnRequirements :
683
678
- minServerVersion : " 3.6.0"
684
- topologies : [ replicaset ]
685
679
operations :
686
680
- name : createChangeStream
687
681
object : *collection0
@@ -759,7 +753,6 @@ tests:
759
753
- description : Test rename and invalidate event types
760
754
runOnRequirements :
761
755
- minServerVersion : " 4.0.1"
762
- topologies : [ replicaset ]
763
756
operations :
764
757
- name : createChangeStream
765
758
object : *collection0
@@ -802,7 +795,6 @@ tests:
802
795
- description : Test drop and invalidate event types
803
796
runOnRequirements :
804
797
- minServerVersion : " 4.0.1"
805
- topologies : [ replicaset ]
806
798
operations :
807
799
- name : createChangeStream
808
800
object : *collection0
@@ -836,11 +828,10 @@ tests:
836
828
databaseName : *database0
837
829
838
830
# Test that resume logic works correctly even after consecutive retryable failures of a getMore command,
839
- # with no intervening events. This is ensured by setting the batch size of the change stream to 1,
831
+ # with no intervening events. This is ensured by setting the batch size of the change stream to 1,
840
832
- description : Test consecutive resume
841
833
runOnRequirements :
842
834
- minServerVersion : " 4.1.7"
843
- topologies : [ replicaset ]
844
835
operations :
845
836
- name : failPoint
846
837
object : testRunner
0 commit comments