Skip to content

Commit

Permalink
Merge pull request #3481 from anarkiwi/g16timeout
Browse files Browse the repository at this point in the history
When adding a link fault, check that the controller sees the same fault on the same link
  • Loading branch information
anarkiwi authored Mar 3, 2020
2 parents 5fcfee9 + 971f9a2 commit db3e63f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/tolerance/mininet_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,8 @@ def dp_link_fault(self, *args):
if peer_dpid == dst_dpid and status == 3:
self.set_port_down(port, src_dpid)
self.set_port_down(peer_port, dst_dpid)
self.wait_for_stack_port_status(src_dpid, self.dp_name(src_i), port, 4)
self.wait_for_stack_port_status(dst_dpid, self.dp_name(dst_i), peer_port, 4)
name = 'Link %s[%s]:%s-%s[%s]:%s DOWN' % (
s1, src_dpid, port, s2, dst_dpid, peer_port)
self.topo_watcher.add_link_fault(src_i, dst_i, name)
Expand Down

0 comments on commit db3e63f

Please sign in to comment.