Skip to content

Commit

Permalink
protocols/kad/tests: Ignore Kademlia routing update event (#1993)
Browse files Browse the repository at this point in the history
In the `libp2p-relay` Kademlia discovery test, ignore Kademlia routing
update events when waiting for a ping from the destination node.
  • Loading branch information
mxinden authored Mar 11, 2021
1 parent 0c412fb commit e9e366c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions protocols/relay/tests/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -668,6 +668,9 @@ fn firewalled_src_discover_firewalled_dst_via_kad_and_connect_to_dst_via_routabl
break;
}
}
SwarmEvent::Behaviour(CombinedEvent::Kad(KademliaEvent::RoutingUpdated {
..
})) => {}
e => panic!("{:?}", e),
}
}
Expand Down

0 comments on commit e9e366c

Please # to comment.