Skip to content

Commit 87878c0

Browse files
authored
GODRIVER-1745 add ConnectionReadyEvents and resync cmap spec tests (#509)
1 parent 4577101 commit 87878c0

35 files changed

+316
-83
lines changed

data/connection-monitoring-and-pooling/connection-must-have-id.json

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,26 +12,32 @@
1212
],
1313
"events": [
1414
{
15-
"type": "ConnectionCheckOutStarted"
15+
"type": "ConnectionCheckOutStarted",
16+
"address": 42
1617
},
1718
{
1819
"type": "ConnectionCreated",
19-
"connectionId": 42
20+
"connectionId": 42,
21+
"address": 42
2022
},
2123
{
2224
"type": "ConnectionCheckedOut",
23-
"connectionId": 42
25+
"connectionId": 42,
26+
"address": 42
2427
},
2528
{
26-
"type": "ConnectionCheckOutStarted"
29+
"type": "ConnectionCheckOutStarted",
30+
"address": 42
2731
},
2832
{
2933
"type": "ConnectionCreated",
30-
"connectionId": 42
34+
"connectionId": 42,
35+
"address": 42
3136
},
3237
{
3338
"type": "ConnectionCheckedOut",
34-
"connectionId": 42
39+
"connectionId": 42,
40+
"address": 42
3541
}
3642
],
3743
"ignore": [

data/connection-monitoring-and-pooling/connection-must-have-id.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,21 @@ operations:
66
- name: checkOut
77
events:
88
- type: ConnectionCheckOutStarted
9+
address: 42
910
- type: ConnectionCreated
1011
connectionId: 42
12+
address: 42
1113
- type: ConnectionCheckedOut
1214
connectionId: 42
15+
address: 42
1316
- type: ConnectionCheckOutStarted
17+
address: 42
1418
- type: ConnectionCreated
1519
connectionId: 42
20+
address: 42
1621
- type: ConnectionCheckedOut
1722
connectionId: 42
23+
address: 42
1824
ignore:
1925
- ConnectionPoolCreated
2026
- ConnectionPoolClosed

data/connection-monitoring-and-pooling/connection-must-order-ids.json

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,26 +12,32 @@
1212
],
1313
"events": [
1414
{
15-
"type": "ConnectionCheckOutStarted"
15+
"type": "ConnectionCheckOutStarted",
16+
"address": 42
1617
},
1718
{
1819
"type": "ConnectionCreated",
19-
"connectionId": 1
20+
"connectionId": 1,
21+
"address": 42
2022
},
2123
{
2224
"type": "ConnectionCheckedOut",
23-
"connectionId": 1
25+
"connectionId": 1,
26+
"address": 42
2427
},
2528
{
26-
"type": "ConnectionCheckOutStarted"
29+
"type": "ConnectionCheckOutStarted",
30+
"address": 42
2731
},
2832
{
2933
"type": "ConnectionCreated",
30-
"connectionId": 2
34+
"connectionId": 2,
35+
"address": 42
3136
},
3237
{
3338
"type": "ConnectionCheckedOut",
34-
"connectionId": 2
39+
"connectionId": 2,
40+
"address": 42
3541
}
3642
],
3743
"ignore": [

data/connection-monitoring-and-pooling/connection-must-order-ids.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,21 @@ operations:
66
- name: checkOut
77
events:
88
- type: ConnectionCheckOutStarted
9+
address: 42
910
- type: ConnectionCreated
1011
connectionId: 1
12+
address: 42
1113
- type: ConnectionCheckedOut
1214
connectionId: 1
15+
address: 42
1316
- type: ConnectionCheckOutStarted
17+
address: 42
1418
- type: ConnectionCreated
1519
connectionId: 2
20+
address: 42
1621
- type: ConnectionCheckedOut
1722
connectionId: 2
23+
address: 42
1824
ignore:
1925
- ConnectionPoolCreated
2026
- ConnectionPoolClosed

data/connection-monitoring-and-pooling/pool-checkin-destroy-closed.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,20 +19,23 @@
1919
"events": [
2020
{
2121
"type": "ConnectionCheckedOut",
22-
"connectionId": 1
22+
"connectionId": 1,
23+
"address": 42
2324
},
2425
{
2526
"type": "ConnectionPoolClosed",
2627
"address": 42
2728
},
2829
{
2930
"type": "ConnectionCheckedIn",
30-
"connectionId": 1
31+
"connectionId": 1,
32+
"address": 42
3133
},
3234
{
3335
"type": "ConnectionClosed",
3436
"connectionId": 1,
35-
"reason": "poolClosed"
37+
"reason": "poolClosed",
38+
"address": 42
3639
}
3740
],
3841
"ignore": [

data/connection-monitoring-and-pooling/pool-checkin-destroy-closed.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,16 @@ operations:
1010
events:
1111
- type: ConnectionCheckedOut
1212
connectionId: 1
13+
address: 42
1314
- type: ConnectionPoolClosed
1415
address: 42
1516
- type: ConnectionCheckedIn
1617
connectionId: 1
18+
address: 42
1719
- type: ConnectionClosed
1820
connectionId: 1
1921
reason: poolClosed
22+
address: 42
2023
ignore:
2124
- ConnectionPoolCreated
2225
- ConnectionCreated

data/connection-monitoring-and-pooling/pool-checkin-destroy-stale.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,20 +18,23 @@
1818
"events": [
1919
{
2020
"type": "ConnectionCheckedOut",
21-
"connectionId": 1
21+
"connectionId": 1,
22+
"address": 42
2223
},
2324
{
2425
"type": "ConnectionPoolCleared",
2526
"address": 42
2627
},
2728
{
2829
"type": "ConnectionCheckedIn",
29-
"connectionId": 1
30+
"connectionId": 1,
31+
"address": 42
3032
},
3133
{
3234
"type": "ConnectionClosed",
3335
"connectionId": 1,
34-
"reason": "stale"
36+
"reason": "stale",
37+
"address": 42
3538
}
3639
],
3740
"ignore": [

data/connection-monitoring-and-pooling/pool-checkin-destroy-stale.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,16 @@ operations:
1010
events:
1111
- type: ConnectionCheckedOut
1212
connectionId: 1
13+
address: 42
1314
- type: ConnectionPoolCleared
1415
address: 42
1516
- type: ConnectionCheckedIn
1617
connectionId: 1
18+
address: 42
1719
- type: ConnectionClosed
1820
connectionId: 1
1921
reason: stale
22+
address: 42
2023
ignore:
2124
- ConnectionPoolCreated
2225
- ConnectionCreated

data/connection-monitoring-and-pooling/pool-checkin-make-available.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,18 @@
1818
"events": [
1919
{
2020
"type": "ConnectionCheckedOut",
21-
"connectionId": 1
21+
"connectionId": 1,
22+
"address": 42
2223
},
2324
{
2425
"type": "ConnectionCheckedIn",
25-
"connectionId": 1
26+
"connectionId": 1,
27+
"address": 42
2628
},
2729
{
2830
"type": "ConnectionCheckedOut",
29-
"connectionId": 1
31+
"connectionId": 1,
32+
"address": 42
3033
}
3134
],
3235
"ignore": [

data/connection-monitoring-and-pooling/pool-checkin-make-available.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,13 @@ operations:
1010
events:
1111
- type: ConnectionCheckedOut
1212
connectionId: 1
13+
address: 42
1314
- type: ConnectionCheckedIn
1415
connectionId: 1
16+
address: 42
1517
- type: ConnectionCheckedOut
1618
connectionId: 1
19+
address: 42
1720
ignore:
1821
- ConnectionPoolCreated
1922
- ConnectionCreated

0 commit comments

Comments
 (0)