File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -252,9 +252,15 @@ sub check_topology_description {
252
252
" topology_description_changed has topologyId that matches topology" );
253
253
254
254
is(
255
- scalar @{$topo_desc_cb -> {' servers' }},
256
- scalar @{$topo_desc_test -> {' servers' }},
257
- " topology_description_changed correct amount of servers"
255
+ scalar @{$topo_desc_cb -> {previousDescription }-> {' servers' }},
256
+ scalar @{$topo_desc_test -> {previousDescription }-> {' servers' }},
257
+ " topology_description_changed previousDescription correct amount of servers"
258
+ );
259
+
260
+ is(
261
+ scalar @{$topo_desc_cb -> {newDescription }-> {' servers' }},
262
+ scalar @{$topo_desc_test -> {newDescription }-> {' servers' }},
263
+ " topology_description_changed newDescription correct amount of servers"
258
264
);
259
265
260
266
# XXX hack that partially circumvents create_mock_topology hack
You can’t perform that action at this time.
0 commit comments