Skip to content

Commit 60c2a60

Browse files
authored
Update pool-checkout-returned-connection-maxConnecting.json to work with different pool implementations (#1563)
JAVA-5696
1 parent 2143320 commit 60c2a60

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

driver-core/src/test/resources/connection-monitoring-and-pooling/cmap-format/pool-checkout-returned-connection-maxConnecting.json

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
}
2424
},
2525
"poolOptions": {
26+
"maxConnecting": 2,
2627
"maxPoolSize": 10,
2728
"waitQueueTimeoutMS": 5000
2829
},
@@ -72,9 +73,8 @@
7273
"connection": "conn0"
7374
},
7475
{
75-
"name": "waitForEvent",
76-
"event": "ConnectionCheckedOut",
77-
"count": 4
76+
"name": "wait",
77+
"ms": 100
7878
}
7979
],
8080
"events": [
@@ -104,14 +104,6 @@
104104
"type": "ConnectionCheckedOut",
105105
"connectionId": 1,
106106
"address": 42
107-
},
108-
{
109-
"type": "ConnectionCheckedOut",
110-
"address": 42
111-
},
112-
{
113-
"type": "ConnectionCheckedOut",
114-
"address": 42
115107
}
116108
],
117109
"ignore": [

0 commit comments

Comments
 (0)