Skip to content

Commit

Permalink
tests: Fix tunnel push pop test failure.
Browse files Browse the repository at this point in the history
Sort the list of arp entries to get predictable output.

Signed-off-by: Pravin B Shelar <[email protected]>
Acked-by: Joe Stringer <[email protected]>
  • Loading branch information
pshelar committed May 11, 2016
1 parent 1df7f7a commit 7eca52f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions tests/tunnel-push-pop-ipv6.at
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,7 @@ AT_CHECK([ovs-appctl netdev-dummy/receive br0 'in_port(100),eth(src=f8:bc:12:44:

AT_CHECK([ovs-appctl netdev-dummy/receive br0 'in_port(100),eth(src=f8:bc:12:44:34:b7,dst=aa:55:aa:55:00:00),eth_type(0x86dd),ipv6(src=2001:cafe::93,dst=2001:cafe::94,label=0,proto=58,tclass=0,hlimit=255,frag=no),icmpv6(type=136,code=0),nd(target=2001:cafe::93,sll=00:00:00:00:00:00,tll=f8:bc:12:44:34:b7)'])

AT_CHECK([ovs-appctl tnl/arp/show], [0], [dnl
IP MAC Bridge
==========================================================================
AT_CHECK([ovs-appctl tnl/arp/show | tail -n+3 | sort], [0], [dnl
2001:cafe::92 f8:bc:12:44:34:b6 br0
2001:cafe::93 f8:bc:12:44:34:b7 br0
])
Expand Down
4 changes: 1 addition & 3 deletions tests/tunnel-push-pop.at
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,7 @@ dnl Check ARP Snoop
AT_CHECK([ovs-appctl netdev-dummy/receive br0 'recirc_id(0),in_port(100),eth(src=f8:bc:12:44:34:b6,dst=ff:ff:ff:ff:ff:ff),eth_type(0x0806),arp(sip=1.1.2.92,tip=1.1.2.88,op=2,sha=f8:bc:12:44:34:b6,tha=00:00:00:00:00:00)'])
AT_CHECK([ovs-appctl netdev-dummy/receive br0 'recirc_id(0),in_port(100),eth(src=f8:bc:12:44:34:b7,dst=ff:ff:ff:ff:ff:ff),eth_type(0x0806),arp(sip=1.1.2.93,tip=1.1.2.88,op=2,sha=f8:bc:12:44:34:b7,tha=00:00:00:00:00:00)'])

AT_CHECK([ovs-appctl tnl/neigh/show], [0], [dnl
IP MAC Bridge
==========================================================================
AT_CHECK([ovs-appctl tnl/neigh/show | tail -n+3 | sort], [0], [dnl
1.1.2.92 f8:bc:12:44:34:b6 br0
1.1.2.93 f8:bc:12:44:34:b7 br0
])
Expand Down

0 comments on commit 7eca52f

Please sign in to comment.