Skip to content

Commit

Permalink
tests: fixed multiple tests missing ovn-nbctl "wait"
Browse files Browse the repository at this point in the history
- dhcpv4 : 1 HV, 2 LS
- Remote port binding
- MLD snoop/querier/relay
- basic connectivity with multiple requested-chassis

Signed-off-by: Xavier Simonart <xsimonar@redhat.com>
Acked-by: Mark Michelson <mmichels@redhat.com>
Signed-off-by: Dumitru Ceara <dceara@redhat.com>
(cherry picked from commit 7c6a207)
  • Loading branch information
simonartxavier authored and dceara committed Oct 6, 2023
1 parent ded718f commit 046895e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/ovn.at
Original file line number Diff line number Diff line change
Expand Up @@ -6765,7 +6765,7 @@ ovn-nbctl dhcp-options-set-options $d3 \
lease_time=3600 router=10.0.0.1 bootfile_name_alt=\"bootfile_name_alt\" \
bootfile_name=\"bootfile\"

ovn-nbctl lsp-set-dhcpv4-options ls1-lp1 $d3
ovn-nbctl --wait=hv lsp-set-dhcpv4-options ls1-lp1 $d3

offer_ip=`ip_to_hex 10 0 0 4`
server_ip=`ip_to_hex 10 0 0 1`
Expand Down Expand Up @@ -20792,7 +20792,7 @@ check ovn-nbctl set Logical_Switch sw2 \
other_config:mcast_querier="false"

# Enable multicast snooping on sw3.
check ovn-nbctl --wait=sb set Logical_Switch sw3 \
check ovn-nbctl --wait=hv set Logical_Switch sw3 \
other_config:mcast_querier="false" \
other_config:mcast_snoop="true"

Expand Down Expand Up @@ -20831,7 +20831,7 @@ OVS_WAIT_UNTIL(
[$at_diff -F'^---' exp rcv])

# Enable multicast relay on rtr
check ovn-nbctl --wait=sb set logical_router rtr options:mcast_relay="true"
check ovn-nbctl --wait=hv set logical_router rtr options:mcast_relay="true"

AT_CAPTURE_FILE([sbflows6])
ovn-sbctl dump-flows > sbflows6
Expand Down

0 comments on commit 046895e

Please sign in to comment.