diff mbox series

[ovs-dev] test: get rid of debugging code

Message ID daae793c350af34e3912bef1ab78661c24d34458.1695228372.git.lorenzo.bianconi@redhat.com
State Accepted
Headers show
Series [ovs-dev] test: get rid of debugging code | expand

Checks

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

Commit Message

Lorenzo Bianconi Sept. 20, 2023, 4:47 p.m. UTC
Remove some debugging code in unit-tests

Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com>
---
 tests/ovn.at | 8 --------
 1 file changed, 8 deletions(-)

Comments

Mark Michelson Sept. 25, 2023, 8:19 p.m. UTC | #1
Acked-by: Mark Michelson

I merged this to main.

On 9/20/23 12:47, Lorenzo Bianconi wrote:
> Remove some debugging code in unit-tests
> 
> Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com>
> ---
>   tests/ovn.at | 8 --------
>   1 file changed, 8 deletions(-)
> 
> diff --git a/tests/ovn.at b/tests/ovn.at
> index ba5ce298a..dfe535f36 100644
> --- a/tests/ovn.at
> +++ b/tests/ovn.at
> @@ -4870,7 +4870,6 @@ test_ip() {
>       shift; shift; shift; shift; shift
>       hv=hv`vif_to_hv $inport`
>       as $hv ovs-appctl netdev-dummy/receive vif$inport $packet
> -    #as $hv ovs-appctl ofproto/trace br-int in_port=$inport $packet
>       in_ls=`vif_to_ls $inport`
>       in_lrp=`vif_to_lrp $inport`
>       for outport; do
> @@ -4903,7 +4902,6 @@ test_arp() {
>       local request=ffffffffffff${sha}08060001080006040001${sha}${spa}ffffffffffff${tpa}
>       hv=hv`vif_to_hv $inport`
>       as $hv ovs-appctl netdev-dummy/receive vif$inport $request
> -    as $hv ovs-appctl ofproto/trace br-int in_port=$inport $request > trace
>   
>       # Expect to receive the broadcast ARP on the other logical switch ports if
>       # IP address is not configured to the switch patch port.
> @@ -5477,7 +5475,6 @@ test_ip() {
>       shift; shift; shift; shift; shift
>       hv=`vif_to_hv $inport`
>       as $hv ovs-appctl netdev-dummy/receive vif$inport $packet
> -    #as $hv ovs-appctl ofproto/trace br-int in_port=$inport $packet
>       for outport; do
>           echo $packet >> $outport.expected
>       done
> @@ -5498,7 +5495,6 @@ test_arp() {
>       local request=ffffffffffff${smac}08060001080006040001${sha}${spa}ffffffffffff${tpa}
>       hv=`vif_to_hv $inport`
>       as $hv ovs-appctl netdev-dummy/receive vif$inport $request
> -    #as $hv ovs-appctl ofproto/trace br-int in_port=$inport $request
>       if test $drop != 1; then
>           if test X$reply_ha = X; then
>               # Expect to receive the broadcast ARP on the other logical switch ports
> @@ -5528,7 +5524,6 @@ test_ipv6() {
>       shift; shift; shift; shift; shift
>       hv=`vif_to_hv $inport`
>       as $hv ovs-appctl netdev-dummy/receive vif$inport $packet
> -    #as $hv ovs-appctl ofproto/trace br-int in_port=$inport $packet
>       for outport; do
>           echo $packet >> $outport.expected
>       done
> @@ -5543,7 +5538,6 @@ test_icmpv6() {
>       shift; shift; shift; shift; shift; shift
>       hv=`vif_to_hv $inport`
>       as $hv ovs-appctl netdev-dummy/receive vif$inport $packet
> -    #as $hv ovs-appctl ofproto/trace br-int in_port=$inport $packet
>       for outport; do
>           echo $packet >> $outport.expected
>       done
> @@ -17787,7 +17781,6 @@ test_ip() {
>       shift; shift; shift; shift; shift
>       hv=hv`vif_to_hv $inport`
>       as $hv ovs-appctl netdev-dummy/receive vif$inport $packet
> -    #as $hv ovs-appctl ofproto/trace br-int in_port=$inport $packet
>       in_ls=`vif_to_ls $inport`
>       in_lrp=`vif_to_lrp $inport`
>       for outport; do
> @@ -21582,7 +21575,6 @@ test_ip() {
>       hv_num=`hv_to_num $hv`
>       chassis_mac=`hv_to_chassis_mac $hv`
>       as $hv ovs-appctl netdev-dummy/receive $inport $packet
> -    #as $hv ovs-appctl ofproto/trace br-int in_port=$inport $packet
>       in_ls=`vif_to_ls $inport`
>       in_lrp=`vif_to_lrp $inport`
>       for outport; do
diff mbox series

Patch

diff --git a/tests/ovn.at b/tests/ovn.at
index ba5ce298a..dfe535f36 100644
--- a/tests/ovn.at
+++ b/tests/ovn.at
@@ -4870,7 +4870,6 @@  test_ip() {
     shift; shift; shift; shift; shift
     hv=hv`vif_to_hv $inport`
     as $hv ovs-appctl netdev-dummy/receive vif$inport $packet
-    #as $hv ovs-appctl ofproto/trace br-int in_port=$inport $packet
     in_ls=`vif_to_ls $inport`
     in_lrp=`vif_to_lrp $inport`
     for outport; do
@@ -4903,7 +4902,6 @@  test_arp() {
     local request=ffffffffffff${sha}08060001080006040001${sha}${spa}ffffffffffff${tpa}
     hv=hv`vif_to_hv $inport`
     as $hv ovs-appctl netdev-dummy/receive vif$inport $request
-    as $hv ovs-appctl ofproto/trace br-int in_port=$inport $request > trace
 
     # Expect to receive the broadcast ARP on the other logical switch ports if
     # IP address is not configured to the switch patch port.
@@ -5477,7 +5475,6 @@  test_ip() {
     shift; shift; shift; shift; shift
     hv=`vif_to_hv $inport`
     as $hv ovs-appctl netdev-dummy/receive vif$inport $packet
-    #as $hv ovs-appctl ofproto/trace br-int in_port=$inport $packet
     for outport; do
         echo $packet >> $outport.expected
     done
@@ -5498,7 +5495,6 @@  test_arp() {
     local request=ffffffffffff${smac}08060001080006040001${sha}${spa}ffffffffffff${tpa}
     hv=`vif_to_hv $inport`
     as $hv ovs-appctl netdev-dummy/receive vif$inport $request
-    #as $hv ovs-appctl ofproto/trace br-int in_port=$inport $request
     if test $drop != 1; then
         if test X$reply_ha = X; then
             # Expect to receive the broadcast ARP on the other logical switch ports
@@ -5528,7 +5524,6 @@  test_ipv6() {
     shift; shift; shift; shift; shift
     hv=`vif_to_hv $inport`
     as $hv ovs-appctl netdev-dummy/receive vif$inport $packet
-    #as $hv ovs-appctl ofproto/trace br-int in_port=$inport $packet
     for outport; do
         echo $packet >> $outport.expected
     done
@@ -5543,7 +5538,6 @@  test_icmpv6() {
     shift; shift; shift; shift; shift; shift
     hv=`vif_to_hv $inport`
     as $hv ovs-appctl netdev-dummy/receive vif$inport $packet
-    #as $hv ovs-appctl ofproto/trace br-int in_port=$inport $packet
     for outport; do
         echo $packet >> $outport.expected
     done
@@ -17787,7 +17781,6 @@  test_ip() {
     shift; shift; shift; shift; shift
     hv=hv`vif_to_hv $inport`
     as $hv ovs-appctl netdev-dummy/receive vif$inport $packet
-    #as $hv ovs-appctl ofproto/trace br-int in_port=$inport $packet
     in_ls=`vif_to_ls $inport`
     in_lrp=`vif_to_lrp $inport`
     for outport; do
@@ -21582,7 +21575,6 @@  test_ip() {
     hv_num=`hv_to_num $hv`
     chassis_mac=`hv_to_chassis_mac $hv`
     as $hv ovs-appctl netdev-dummy/receive $inport $packet
-    #as $hv ovs-appctl ofproto/trace br-int in_port=$inport $packet
     in_ls=`vif_to_ls $inport`
     in_lrp=`vif_to_lrp $inport`
     for outport; do