Skip to content

Commit ceb0337

Browse files
committed
Unskip tests and pull in updated test
1 parent f237c9d commit ceb0337

File tree

3 files changed

+25
-7
lines changed

3 files changed

+25
-7
lines changed

test/integration/server-discovery-and-monitoring/server_discovery_and_monitoring.spec.test.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,5 @@ import { runUnifiedSuite } from '../../tools/unified-spec-runner/runner';
55

66
describe('SDAM Unified Tests (Spec)', function () {
77
const specTests = loadSpecTests(path.join('server-discovery-and-monitoring', 'unified'));
8-
runUnifiedSuite(specTests, test => {
9-
if (['Topology lifecycle'].includes(test.description)) {
10-
return 'see NODE-5723';
11-
}
12-
return false;
13-
});
8+
runUnifiedSuite(specTests);
149
});

test/spec/server-discovery-and-monitoring/unified/logging-loadbalanced.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,22 @@
132132
}
133133
}
134134
},
135+
{
136+
"level": "debug",
137+
"component": "topology",
138+
"data": {
139+
"message": "Topology description changed",
140+
"topologyId": {
141+
"$$exists": true
142+
},
143+
"previousDescription": {
144+
"$$exists": true
145+
},
146+
"newDescription": {
147+
"$$exists": true
148+
}
149+
}
150+
},
135151
{
136152
"level": "debug",
137153
"component": "topology",

test/spec/server-discovery-and-monitoring/unified/logging-loadbalanced.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,15 @@ tests:
6767
topologyId: { $$exists: true }
6868
serverHost: { $$type: string }
6969
serverPort: { $$type: [int, long] }
70+
- level: debug
71+
component: topology
72+
data:
73+
message: "Topology description changed"
74+
topologyId: { $$exists: true }
75+
previousDescription: { $$exists: true } # loadBalanced topology
76+
newDescription: { $$exists: true } # unknown topology
7077
- level: debug
7178
component: topology
7279
data:
7380
message: "Stopped topology monitoring"
74-
topologyId: { $$exists: true }
81+
topologyId: { $$exists: true }

0 commit comments

Comments
 (0)