Increase ping count on ARP spoof test

The other IPv4 tests all have a count of 2 to tolerate
ping failures due to slow ARP response/interface setup/etc.
This patch increases test_arp_spoof_allowed_address_pairs_0cidr
to 2 to match.

Closes-Bug: #1470234
Change-Id: I82bd8397672194f6162eef5392d4f19d57450552
This commit is contained in:
Kevin Benton 2015-06-29 22:24:22 -07:00
parent 49b64ca6bc
commit 9b23617111
1 changed files with 1 additions and 1 deletions

View File

@ -166,7 +166,7 @@ class _ARPSpoofTestCase(object):
'1.2.3.4'])
self.src_p.addr.add('%s/24' % self.src_addr)
self.dst_p.addr.add('%s/24' % self.dst_addr)
net_helpers.assert_ping(self.src_namespace, self.dst_addr)
net_helpers.assert_ping(self.src_namespace, self.dst_addr, count=2)
def test_arp_spoof_disable_port_security(self):
# block first and then disable port security to make sure old rules