PYTHON-5493 Add a patch for the log order difference (#2473)
This commit is contained in:
parent
b83fcbb1a9
commit
e44ece0b07
99
.evergreen/spec-patch/PYTHON-5493.patch
Normal file
99
.evergreen/spec-patch/PYTHON-5493.patch
Normal file
@ -0,0 +1,99 @@
|
||||
diff --git a/test/connection_logging/connection-logging.json b/test/connection_logging/connection-logging.json
|
||||
index d40cfbb7e..5799e834d 100644
|
||||
--- a/test/connection_logging/connection-logging.json
|
||||
+++ b/test/connection_logging/connection-logging.json
|
||||
@@ -272,7 +272,13 @@
|
||||
"level": "debug",
|
||||
"component": "connection",
|
||||
"data": {
|
||||
- "message": "Connection pool closed",
|
||||
+ "message": "Connection closed",
|
||||
+ "driverConnectionId": {
|
||||
+ "$$type": [
|
||||
+ "int",
|
||||
+ "long"
|
||||
+ ]
|
||||
+ },
|
||||
"serverHost": {
|
||||
"$$type": "string"
|
||||
},
|
||||
@@ -281,20 +287,15 @@
|
||||
"int",
|
||||
"long"
|
||||
]
|
||||
- }
|
||||
+ },
|
||||
+ "reason": "Connection pool was closed"
|
||||
}
|
||||
},
|
||||
{
|
||||
"level": "debug",
|
||||
"component": "connection",
|
||||
"data": {
|
||||
- "message": "Connection closed",
|
||||
- "driverConnectionId": {
|
||||
- "$$type": [
|
||||
- "int",
|
||||
- "long"
|
||||
- ]
|
||||
- },
|
||||
+ "message": "Connection pool closed",
|
||||
"serverHost": {
|
||||
"$$type": "string"
|
||||
},
|
||||
@@ -303,8 +304,7 @@
|
||||
"int",
|
||||
"long"
|
||||
]
|
||||
- },
|
||||
- "reason": "Connection pool was closed"
|
||||
+ }
|
||||
}
|
||||
}
|
||||
]
|
||||
@@ -446,22 +446,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
- {
|
||||
- "level": "debug",
|
||||
- "component": "connection",
|
||||
- "data": {
|
||||
- "message": "Connection pool cleared",
|
||||
- "serverHost": {
|
||||
- "$$type": "string"
|
||||
- },
|
||||
- "serverPort": {
|
||||
- "$$type": [
|
||||
- "int",
|
||||
- "long"
|
||||
- ]
|
||||
- }
|
||||
- }
|
||||
- },
|
||||
{
|
||||
"level": "debug",
|
||||
"component": "connection",
|
||||
@@ -514,6 +498,22 @@
|
||||
]
|
||||
}
|
||||
}
|
||||
+ },
|
||||
+ {
|
||||
+ "level": "debug",
|
||||
+ "component": "connection",
|
||||
+ "data": {
|
||||
+ "message": "Connection pool cleared",
|
||||
+ "serverHost": {
|
||||
+ "$$type": "string"
|
||||
+ },
|
||||
+ "serverPort": {
|
||||
+ "$$type": [
|
||||
+ "int",
|
||||
+ "long"
|
||||
+ ]
|
||||
+ }
|
||||
+ }
|
||||
}
|
||||
]
|
||||
}
|
||||
@ -446,22 +446,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"level": "debug",
|
||||
"component": "connection",
|
||||
"data": {
|
||||
"message": "Connection pool cleared",
|
||||
"serverHost": {
|
||||
"$$type": "string"
|
||||
},
|
||||
"serverPort": {
|
||||
"$$type": [
|
||||
"int",
|
||||
"long"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"level": "debug",
|
||||
"component": "connection",
|
||||
@ -514,6 +498,22 @@
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"level": "debug",
|
||||
"component": "connection",
|
||||
"data": {
|
||||
"message": "Connection pool cleared",
|
||||
"serverHost": {
|
||||
"$$type": "string"
|
||||
},
|
||||
"serverPort": {
|
||||
"$$type": [
|
||||
"int",
|
||||
"long"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user