Skip to content

Commit e5447da

Browse files
committed
Sync up SDAM logging test case.
1 parent 199dbc5 commit e5447da

File tree

2 files changed

+16
-7
lines changed

2 files changed

+16
-7
lines changed

Diff for: testdata/server-discovery-and-monitoring/unified/logging-standalone.json

+16
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,22 @@
162162
}
163163
}
164164
},
165+
{
166+
"level": "debug",
167+
"component": "topology",
168+
"data": {
169+
"message": "Topology description changed",
170+
"topologyId": {
171+
"$$exists": true
172+
},
173+
"previousDescription": {
174+
"$$exists": true
175+
},
176+
"newDescription": {
177+
"$$exists": true
178+
}
179+
}
180+
},
165181
{
166182
"level": "debug",
167183
"component": "topology",

Diff for: testdata/server-discovery-and-monitoring/unified/logging-standalone.yml

-7
Original file line numberDiff line numberDiff line change
@@ -84,13 +84,6 @@ tests:
8484
topologyId: { $$exists: true }
8585
serverHost: { $$type: string }
8686
serverPort: { $$type: [int, long] }
87-
# TODO(GODRIVER-2967): The following log message has been removed from
88-
# the JSON analogue because it assumes that
89-
# "TopologyDescriptionChangedEvent" should occur when a topolgoy is
90-
# closed. This behavior is not clearly defined anywhere and some
91-
# drivers support and some don't.
92-
#
93-
# Need to sync whenever GODRIVER-2967 is unblocked.
9487
- level: debug
9588
component: topology
9689
data:

0 commit comments

Comments
 (0)