File tree 2 files changed +44
-13
lines changed
driver-core/src/test/resources/unified-test-format/load-balancers
2 files changed +44
-13
lines changed Original file line number Diff line number Diff line change 57
57
"tests" : [
58
58
{
59
59
"description" : " operations against non-load balanced clusters fail if URI contains loadBalanced=true" ,
60
- "runOnRequirements" : [
61
- {
62
- "maxServerVersion" : " 8.0.99" ,
63
- "topologies" : [
64
- " single"
65
- ]
66
- },
67
- {
68
- "topologies" : [
69
- " sharded"
70
- ]
71
- }
72
- ],
73
60
"operations" : [
74
61
{
75
62
"name" : " runCommand" ,
Original file line number Diff line number Diff line change 1616
1616
]
1617
1617
}
1618
1618
]
1619
+ },
1620
+ {
1621
+ "description" : " pinned connection is released when session ended" ,
1622
+ "operations" : [
1623
+ {
1624
+ "name" : " startTransaction" ,
1625
+ "object" : " session0"
1626
+ },
1627
+ {
1628
+ "name" : " insertOne" ,
1629
+ "object" : " collection0" ,
1630
+ "arguments" : {
1631
+ "document" : {
1632
+ "x" : 1
1633
+ },
1634
+ "session" : " session0"
1635
+ }
1636
+ },
1637
+ {
1638
+ "name" : " commitTransaction" ,
1639
+ "object" : " session0"
1640
+ },
1641
+ {
1642
+ "name" : " endSession" ,
1643
+ "object" : " session0"
1644
+ }
1645
+ ],
1646
+ "expectEvents" : [
1647
+ {
1648
+ "client" : " client0" ,
1649
+ "eventType" : " cmap" ,
1650
+ "events" : [
1651
+ {
1652
+ "connectionReadyEvent" : {}
1653
+ },
1654
+ {
1655
+ "connectionCheckedOutEvent" : {}
1656
+ },
1657
+ {
1658
+ "connectionCheckedInEvent" : {}
1659
+ }
1660
+ ]
1661
+ }
1662
+ ]
1619
1663
}
1620
1664
]
1621
1665
}
You can’t perform that action at this time.
0 commit comments