Message ID | 20240604131042.825909-9-xsimonar@redhat.com |
---|---|
State | Accepted |
Headers | show |
Series | Flaky tests fixes and tests cleanup. | expand |
Context | Check | Description |
---|---|---|
ovsrobot/apply-robot | success | apply and check: success |
ovsrobot/github-robot-_Build_and_Test | fail | github build: failed |
ovsrobot/github-robot-_ovn-kubernetes | fail | github build: failed |
diff --git a/tests/ovn-controller.at b/tests/ovn-controller.at index 16710911b..3751755be 100644 --- a/tests/ovn-controller.at +++ b/tests/ovn-controller.at @@ -2487,7 +2487,8 @@ check ovn-nbctl lsp-add ls-ext lsp-ext \ -- lsp-set-addresses lsp-ext unknown check ovn-nbctl --wait=hv sync -AT_CHECK([ovs-vsctl list-ports br-int | grep patch-br-int-to-lsp-ext], [0], [ignore]) +# Patch port might be created by ovn-controller after handling nb_cfg sync, if ovs db is busy handling command. +OVS_WAIT_UNTIL([test 1 = $(ovs-vsctl list-ports br-int | grep patch-br-int-to-lsp-ext | wc -l)]) # Stop ovn-controller OVS_APP_EXIT_AND_WAIT([ovn-controller])
Signed-off-by: Xavier Simonart <xsimonar@redhat.com> --- tests/ovn-controller.at | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)