Skip to content

Commit ac5b643

Browse files
committed
update the patch
1 parent ff704b8 commit ac5b643

File tree

2 files changed

+70
-27
lines changed

2 files changed

+70
-27
lines changed
Lines changed: 57 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
diff --git a/test/connection_logging/connection-logging.json b/test/connection_logging/connection-logging.json
2-
index 72103b3ca..43ae51d73 100644
2+
index d40cfbb7e..5799e834d 100644
33
--- a/test/connection_logging/connection-logging.json
44
+++ b/test/connection_logging/connection-logging.json
5-
@@ -450,7 +450,13 @@
5+
@@ -272,7 +272,13 @@
66
"level": "debug",
77
"component": "connection",
88
"data": {
9-
- "message": "Connection pool cleared",
9+
- "message": "Connection pool closed",
1010
+ "message": "Connection closed",
1111
+ "driverConnectionId": {
1212
+ "$$type": [
@@ -17,18 +17,16 @@ index 72103b3ca..43ae51d73 100644
1717
"serverHost": {
1818
"$$type": "string"
1919
},
20-
@@ -459,6 +465,10 @@
20+
@@ -281,20 +287,15 @@
2121
"int",
2222
"long"
2323
]
24+
- }
2425
+ },
25-
+ "reason": "An error occurred while using the connection",
26-
+ "error": {
27-
+ "$$exists": true
28-
}
26+
+ "reason": "Connection pool was closed"
2927
}
3028
},
31-
@@ -466,13 +476,7 @@
29+
{
3230
"level": "debug",
3331
"component": "connection",
3432
"data": {
@@ -39,18 +37,63 @@ index 72103b3ca..43ae51d73 100644
3937
- "long"
4038
- ]
4139
- },
42-
+ "message": "Connection pool cleared",
40+
+ "message": "Connection pool closed",
4341
"serverHost": {
4442
"$$type": "string"
4543
},
46-
@@ -481,10 +485,6 @@
44+
@@ -303,8 +304,7 @@
4745
"int",
4846
"long"
4947
]
5048
- },
51-
- "reason": "An error occurred while using the connection",
52-
- "error": {
53-
- "$$exists": true
49+
- "reason": "Connection pool was closed"
50+
+ }
51+
}
52+
}
53+
]
54+
@@ -446,22 +446,6 @@
5455
}
5556
}
5657
},
58+
- {
59+
- "level": "debug",
60+
- "component": "connection",
61+
- "data": {
62+
- "message": "Connection pool cleared",
63+
- "serverHost": {
64+
- "$$type": "string"
65+
- },
66+
- "serverPort": {
67+
- "$$type": [
68+
- "int",
69+
- "long"
70+
- ]
71+
- }
72+
- }
73+
- },
74+
{
75+
"level": "debug",
76+
"component": "connection",
77+
@@ -514,6 +498,22 @@
78+
]
79+
}
80+
}
81+
+ },
82+
+ {
83+
+ "level": "debug",
84+
+ "component": "connection",
85+
+ "data": {
86+
+ "message": "Connection pool cleared",
87+
+ "serverHost": {
88+
+ "$$type": "string"
89+
+ },
90+
+ "serverPort": {
91+
+ "$$type": [
92+
+ "int",
93+
+ "long"
94+
+ ]
95+
+ }
96+
+ }
97+
}
98+
]
99+
}

test/connection_logging/connection-logging.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@
476476
"level": "debug",
477477
"component": "connection",
478478
"data": {
479-
"message": "Connection pool cleared",
479+
"message": "Connection checkout failed",
480480
"serverHost": {
481481
"$$type": "string"
482482
},
@@ -485,14 +485,25 @@
485485
"int",
486486
"long"
487487
]
488+
},
489+
"reason": "An error occurred while trying to establish a new connection",
490+
"error": {
491+
"$$exists": true
492+
},
493+
"durationMS": {
494+
"$$type": [
495+
"double",
496+
"int",
497+
"long"
498+
]
488499
}
489500
}
490501
},
491502
{
492503
"level": "debug",
493504
"component": "connection",
494505
"data": {
495-
"message": "Connection checkout failed",
506+
"message": "Connection pool cleared",
496507
"serverHost": {
497508
"$$type": "string"
498509
},
@@ -501,17 +512,6 @@
501512
"int",
502513
"long"
503514
]
504-
},
505-
"reason": "An error occurred while trying to establish a new connection",
506-
"error": {
507-
"$$exists": true
508-
},
509-
"durationMS": {
510-
"$$type": [
511-
"double",
512-
"int",
513-
"long"
514-
]
515515
}
516516
}
517517
}

0 commit comments

Comments
 (0)