diff mbox

[ovs-dev] ovn: Fix the port secuirty test failure by adding a sleep of 2 sec.

Message ID 57121E12.9030602@redhat.com
State Accepted
Headers show

Commit Message

Numan Siddique April 16, 2016, 11:12 a.m. UTC
Added a sleep of 2 seconds before generating a test packet in ovn.at
so that ovn-northd reads the northbound db changes and updates the
southbound db.

Signed-off-by: Numan Siddique <nusiddiq@redhat.com>
---
 tests/ovn.at | 2 ++
 1 file changed, 2 insertions(+)

Comments

Ben Pfaff April 16, 2016, 4:43 p.m. UTC | #1
On Sat, Apr 16, 2016 at 04:42:18PM +0530, Numan Siddique wrote:
> Added a sleep of 2 seconds before generating a test packet in ovn.at
> so that ovn-northd reads the northbound db changes and updates the
> southbound db.
> 
> Signed-off-by: Numan Siddique <nusiddiq@redhat.com>

Applied, thanks!
diff mbox

Patch

diff --git a/tests/ovn.at b/tests/ovn.at
index 30ca127..6fea4e0 100644
--- a/tests/ovn.at
+++ b/tests/ovn.at
@@ -1933,6 +1933,8 @@  done
 # configure lport13 to send and received IPv4 packets with an address range
 ovn-nbctl lport-set-port-security lp13 "f0:00:00:00:00:13 192.168.0.13 20.0.0.4/24 10.0.0.0/24"
 
+sleep 2
+
 sip=`ip_to_hex 10 0 0 13`
 tip=`ip_to_hex 192 168 0 22`
 # arp packet with inner ip 10.0.0.13 should be allowed for lport13