protocols/kad/tests: Ignore Kademlia routing update event (#1993)

In the `libp2p-relay` Kademlia discovery test, ignore Kademlia routing
update events when waiting for a ping from the destination node.
This commit is contained in:
Max Inden
2021-03-11 18:16:33 +01:00
committed by GitHub
parent 0c412fbc1c
commit e9e366cbe8

View File

@ -668,6 +668,9 @@ fn firewalled_src_discover_firewalled_dst_via_kad_and_connect_to_dst_via_routabl
break; break;
} }
} }
SwarmEvent::Behaviour(CombinedEvent::Kad(KademliaEvent::RoutingUpdated {
..
})) => {}
e => panic!("{:?}", e), e => panic!("{:?}", e),
} }
} }