[ovs-dev] [PATCH V3 1/2] tests/system-offloads-traffic.at: add sanity check

Roi Dayan roid at mellanox.com
Wed Aug 16 12:11:22 UTC 2017


Doing dump-flows also altering the netdev ports list.
So doing it pre the actual test is adding a check to
make sure we don't break the that list.

Signed-off-by: Roi Dayan <roid at mellanox.com>
Reviewed-by: Paul Blakey <paulb at mellanox.com>
---
 tests/system-offloads-traffic.at | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/system-offloads-traffic.at b/tests/system-offloads-traffic.at
index 7aec8a3..1f80793 100644
--- a/tests/system-offloads-traffic.at
+++ b/tests/system-offloads-traffic.at
@@ -46,6 +46,7 @@ ADD_NAMESPACES(at_ns0, at_ns1)
 
 ADD_VETH(p0, at_ns0, br0, "10.1.1.1/24")
 ADD_VETH(p1, at_ns1, br0, "10.1.1.2/24")
+AT_CHECK([ovs-appctl dpctl/dump-flows], [0], [ignore])
 
 NS_CHECK_EXEC([at_ns0], [ping -q -c 10 -i 0.1 -w 2 10.1.1.2 | FORMAT_PING], [0], [dnl
 10 packets transmitted, 10 received, 0% packet loss, time 0ms
-- 
2.8.0



More information about the dev mailing list