Skip to content

Commit

Permalink
tests: Fix flaky "ovn-sbctl - ovn-sbctl - count-flows - daemon".
Browse files Browse the repository at this point in the history
When ovn-sbctl is running in daemon mode, there is no guarantee that
ovn-sbctl daemon has been updated when ovn-nbcrl --wait=sb returns.

Signed-off-by: Xavier Simonart <[email protected]>
Signed-off-by: 0-day Robot <[email protected]>
  • Loading branch information
simonartxavier authored and ovsrobot committed Dec 10, 2024
1 parent dee35e9 commit cc794c0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/ovn-sbctl.at
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,8 @@ $ingress_lflows
# add another datapath
check ovn-nbctl --wait=sb ls-add count-test2

wait_column 2 Datapath_Binding tunnel_key external_ids:name=count-test2

# check total logical flows in 2 datapathes
AT_CHECK_UNQUOTED([ovn-sbctl count-flows | grep "flows =" | awk 'NF>1{print $NF}'], [0], [dnl
$(($total_lflows * 2))
Expand Down

0 comments on commit cc794c0

Please sign in to comment.