Skip to content

Commit ff704b8

Browse files
committed
update the patch
1 parent d02ac9d commit ff704b8

File tree

2 files changed

+55
-52
lines changed

2 files changed

+55
-52
lines changed
Lines changed: 32 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,56 @@
11
diff --git a/test/connection_logging/connection-logging.json b/test/connection_logging/connection-logging.json
2-
index 72103b3ca..d40cfbb7e 100644
2+
index 72103b3ca..43ae51d73 100644
33
--- a/test/connection_logging/connection-logging.json
44
+++ b/test/connection_logging/connection-logging.json
5-
@@ -272,13 +272,7 @@
5+
@@ -450,7 +450,13 @@
66
"level": "debug",
77
"component": "connection",
88
"data": {
9-
- "message": "Connection closed",
10-
- "driverConnectionId": {
11-
- "$$type": [
12-
- "int",
13-
- "long"
14-
- ]
15-
- },
16-
+ "message": "Connection pool closed",
9+
- "message": "Connection pool cleared",
10+
+ "message": "Connection closed",
11+
+ "driverConnectionId": {
12+
+ "$$type": [
13+
+ "int",
14+
+ "long"
15+
+ ]
16+
+ },
1717
"serverHost": {
1818
"$$type": "string"
1919
},
20-
@@ -287,15 +281,20 @@
20+
@@ -459,6 +465,10 @@
2121
"int",
2222
"long"
2323
]
24-
- },
25-
- "reason": "Connection pool was closed"
26-
+ }
24+
+ },
25+
+ "reason": "An error occurred while using the connection",
26+
+ "error": {
27+
+ "$$exists": true
28+
}
2729
}
2830
},
29-
{
31+
@@ -466,13 +476,7 @@
3032
"level": "debug",
3133
"component": "connection",
3234
"data": {
33-
- "message": "Connection pool closed",
34-
+ "message": "Connection closed",
35-
+ "driverConnectionId": {
36-
+ "$$type": [
37-
+ "int",
38-
+ "long"
39-
+ ]
40-
+ },
35+
- "message": "Connection closed",
36+
- "driverConnectionId": {
37+
- "$$type": [
38+
- "int",
39+
- "long"
40+
- ]
41+
- },
42+
+ "message": "Connection pool cleared",
4143
"serverHost": {
4244
"$$type": "string"
4345
},
44-
@@ -304,7 +303,8 @@
46+
@@ -481,10 +485,6 @@
4547
"int",
4648
"long"
4749
]
48-
- }
49-
+ },
50-
+ "reason": "Connection pool was closed"
50+
- },
51+
- "reason": "An error occurred while using the connection",
52+
- "error": {
53+
- "$$exists": true
54+
}
5155
}
52-
}
53-
]
56+
},

test/connection_logging/connection-logging.json

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,13 @@
272272
"level": "debug",
273273
"component": "connection",
274274
"data": {
275-
"message": "Connection pool closed",
275+
"message": "Connection closed",
276+
"driverConnectionId": {
277+
"$$type": [
278+
"int",
279+
"long"
280+
]
281+
},
276282
"serverHost": {
277283
"$$type": "string"
278284
},
@@ -281,20 +287,15 @@
281287
"int",
282288
"long"
283289
]
284-
}
290+
},
291+
"reason": "Connection pool was closed"
285292
}
286293
},
287294
{
288295
"level": "debug",
289296
"component": "connection",
290297
"data": {
291-
"message": "Connection closed",
292-
"driverConnectionId": {
293-
"$$type": [
294-
"int",
295-
"long"
296-
]
297-
},
298+
"message": "Connection pool closed",
298299
"serverHost": {
299300
"$$type": "string"
300301
},
@@ -303,8 +304,7 @@
303304
"int",
304305
"long"
305306
]
306-
},
307-
"reason": "Connection pool was closed"
307+
}
308308
}
309309
}
310310
]
@@ -450,7 +450,13 @@
450450
"level": "debug",
451451
"component": "connection",
452452
"data": {
453-
"message": "Connection pool cleared",
453+
"message": "Connection closed",
454+
"driverConnectionId": {
455+
"$$type": [
456+
"int",
457+
"long"
458+
]
459+
},
454460
"serverHost": {
455461
"$$type": "string"
456462
},
@@ -459,20 +465,18 @@
459465
"int",
460466
"long"
461467
]
468+
},
469+
"reason": "An error occurred while using the connection",
470+
"error": {
471+
"$$exists": true
462472
}
463473
}
464474
},
465475
{
466476
"level": "debug",
467477
"component": "connection",
468478
"data": {
469-
"message": "Connection closed",
470-
"driverConnectionId": {
471-
"$$type": [
472-
"int",
473-
"long"
474-
]
475-
},
479+
"message": "Connection pool cleared",
476480
"serverHost": {
477481
"$$type": "string"
478482
},
@@ -481,10 +485,6 @@
481485
"int",
482486
"long"
483487
]
484-
},
485-
"reason": "An error occurred while using the connection",
486-
"error": {
487-
"$$exists": true
488488
}
489489
}
490490
},

0 commit comments

Comments
 (0)