File tree Expand file tree Collapse file tree 1 file changed +67
-0
lines changed
spec/spec_tests/data/client_backpressure Expand file tree Collapse file tree 1 file changed +67
-0
lines changed Original file line number Diff line number Diff line change 1+ description : tests that connections are returned to the pool on retry attempts for overload errors
2+ schemaVersion : " 1.3"
3+ runOnRequirements :
4+ - minServerVersion : " 4.4"
5+ topologies :
6+ - replicaset
7+ - sharded
8+ - load-balanced
9+ createEntities :
10+ - client :
11+ id : client
12+ useMultipleMongoses : false
13+ observeEvents :
14+ - connectionCheckedOutEvent
15+ - connectionCheckedInEvent
16+ - client :
17+ id : fail_point_client
18+ useMultipleMongoses : false
19+ - database :
20+ id : database
21+ client : client
22+ databaseName : backpressure-connection-checkin
23+ - collection :
24+ id : collection
25+ database : database
26+ collectionName : coll
27+ tests :
28+ - description : overload error retry attempts return connections to the pool
29+ operations :
30+ - name : failPoint
31+ object : testRunner
32+ arguments :
33+ client : fail_point_client
34+ failPoint :
35+ configureFailPoint : failCommand
36+ mode : alwaysOn
37+ data :
38+ failCommands :
39+ - find
40+ errorLabels :
41+ - RetryableError
42+ - SystemOverloadedError
43+ errorCode : 2
44+ - name : find
45+ object : collection
46+ arguments :
47+ filter : {}
48+ expectError :
49+ isError : true
50+ isClientError : false
51+ expectEvents :
52+ - client : client
53+ eventType : cmap
54+ events :
55+ - connectionCheckedOutEvent : {}
56+ - connectionCheckedInEvent : {}
57+ - connectionCheckedOutEvent : {}
58+ - connectionCheckedInEvent : {}
59+ - connectionCheckedOutEvent : {}
60+ - connectionCheckedInEvent : {}
61+ - connectionCheckedOutEvent : {}
62+ - connectionCheckedInEvent : {}
63+ - connectionCheckedOutEvent : {}
64+ - connectionCheckedInEvent : {}
65+ - connectionCheckedOutEvent : {}
66+ - connectionCheckedInEvent : {}
67+
You can’t perform that action at this time.
0 commit comments