Message ID | 20240212175537.1356073-5-xsimonar@redhat.com |
---|---|
State | Accepted |
Headers | show |
Series | Fixes to Unit tests. | expand |
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 | success | github build: passed |
diff --git a/tests/ovn-controller-vtep.at b/tests/ovn-controller-vtep.at index 462e858f1..d35dbbd05 100644 --- a/tests/ovn-controller-vtep.at +++ b/tests/ovn-controller-vtep.at @@ -50,7 +50,7 @@ m4_define([OVN_CONTROLLER_VTEP_START], [ /vlog|INFO|opened log file/d' dnl Wait until ovs-vtep starts up. - OVS_WAIT_UNTIL([test -n "`vtep-ctl show | grep Physical_Port`"]) + OVS_WAIT_UNTIL([test 2 -eq "`vtep-ctl show | grep -c Physical_Port`"]) dnl Start ovn-controller-vtep. start_daemon ovn-controller-vtep --vtep-db=unix:"$ovs_dir"/db.sock \
Signed-off-by: Xavier Simonart <xsimonar@redhat.com> --- tests/ovn-controller-vtep.at | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)