mirror of
https://github.com/jmcorgan/fips.git
synced 2026-08-09 16:24:45 +00:00
Merge branch 'master' into next
Forward-merge the fipstop routing-stats label flip and the three fixes carried up from maint: drop the redundant parent_switched counter, keep the tighter path_mtu on a LookupResponse, and reuse one shared secp256k1 context. Clean auto-merge into next's post-refactor structure.
This commit is contained in:
@@ -1251,7 +1251,7 @@ async fn test_tree_announce_self_root_promotion() {
|
||||
let announce = TreeAnnounce::new(decl, TreeCoordinate::from_addrs(vec![l_addr]).unwrap());
|
||||
let encoded = announce.encode().unwrap();
|
||||
|
||||
let switched_before = nodes[p_idx].node.metrics().tree.parent_switched.get();
|
||||
let switched_before = nodes[p_idx].node.metrics().tree.parent_switches.get();
|
||||
nodes[p_idx]
|
||||
.node
|
||||
.handle_tree_announce(&l_addr, &encoded[1..])
|
||||
@@ -1263,7 +1263,7 @@ async fn test_tree_announce_self_root_promotion() {
|
||||
);
|
||||
assert_eq!(*nodes[p_idx].node.tree_state().root(), p_addr);
|
||||
assert_eq!(
|
||||
nodes[p_idx].node.metrics().tree.parent_switched.get(),
|
||||
nodes[p_idx].node.metrics().tree.parent_switches.get(),
|
||||
switched_before + 1
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user