]> git.proxmox.com Git - ovs.git/commitdiff
tests: Fix mcast test on slow systems
authorAlin Serdean <aserdean@cloudbasesolutions.com>
Wed, 8 Mar 2017 14:31:56 +0000 (14:31 +0000)
committerBen Pfaff <blp@ovn.org>
Fri, 10 Mar 2017 15:27:26 +0000 (07:27 -0800)
On slow systems(or which start processes slow) the test:
`testing mcast - delete the port mdb when port destroyed`
is influenced by the running time.
i.e.: http://64.119.130.115/ovs/911b7e9b08b9f4f890eeecd228d5124f4ce94d4e/testsuite.dir/2326/testsuite.log.gz

This patches adds a time stop on vswitchd.

Signed-off-by: Alin Gabriel Serdean <aserdean@cloudbasesolutions.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
tests/mcast-snooping.at

index c30667bf7e38eb247f524459016e153bc1b840b8..ad818a3e0be196f41cef3793e2ac6fc6a9ab8806 100644 (file)
@@ -181,6 +181,8 @@ AT_CHECK([
     -- set Interface p2 type=dummy other-config:hwaddr=aa:55:aa:55:00:02 ofport_request=2 \
 ], [0])
 
+ovs-appctl time/stop
+
 # send report packets
 AT_CHECK([
     ovs-appctl netdev-dummy/receive p1  \