diff mbox series

[ovs-dev,v4,5/7] tests: Use revalidator/purge instead of dpctl/del-flows

Message ID 20230308143211.712618-6-amusil@redhat.com
State Accepted
Headers show
Series Enable system tests over userspace datapath in CI | expand

Checks

Context Check Description
ovsrobot/apply-robot success apply and check: success
ovsrobot/github-robot-_ovn-kubernetes success github build: passed
ovsrobot/github-robot-_Build_and_Test fail github build: failed

Commit Message

Ales Musil March 8, 2023, 2:32 p.m. UTC
The dpctl/del-flows shouldn't be used on running
ofproto layer, use revalidator/purge instead.

Signed-off-by: Ales Musil <amusil@redhat.com>
---
v3: Rebase on top of current main.
v4: Rebase on top of current main.
    Also replace del-flows usage in ovn.at.
---
 tests/ovn.at        | 2 +-
 tests/system-ovn.at | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Comments

Simon Horman March 9, 2023, 1:12 p.m. UTC | #1
On Wed, Mar 08, 2023 at 03:32:09PM +0100, Ales Musil wrote:
> The dpctl/del-flows shouldn't be used on running
> ofproto layer, use revalidator/purge instead.
> 
> Signed-off-by: Ales Musil <amusil@redhat.com>

Reviewed-by: Simon Horman <simon.horman@corigine.com>
diff mbox series

Patch

diff --git a/tests/ovn.at b/tests/ovn.at
index 40d701bb2..394cf38a5 100644
--- a/tests/ovn.at
+++ b/tests/ovn.at
@@ -12276,7 +12276,7 @@  AS_BOX([Verify packet at outside1 i.e nexthop(172.16.1.1) port])
 expected=${nexthop_mac}${gw_mac}08004500001c000000003f110100${foo1_ip}${dst_ip}0035111100080000
 echo $expected > hv3-vif1.expected
 
-check as hv1 ovs-appctl dpctl/del-flows
+check as hv1 ovs-appctl revalidator/purge
 
 as hv1 reset_pcap_file br-ex_n2 hv1/br-ex_n2
 as hv3 reset_pcap_file hv3-vif1 hv3/vif1
diff --git a/tests/system-ovn.at b/tests/system-ovn.at
index 7b0475681..412faa411 100644
--- a/tests/system-ovn.at
+++ b/tests/system-ovn.at
@@ -6841,7 +6841,7 @@  AT_CHECK([ovs-appctl dpctl/dump-flows | grep ct_mark | grep -v ipv6 -c], [0], [i
 # Clear ACL for sw0
 check ovn-nbctl --wait=hv clear logical_switch sw0 acls
 
-check ovs-appctl dpctl/del-flows
+check ovs-appctl revalidator/purge
 
 check ovn-nbctl --wait=hv sync