Message ID | 20240212175537.1356073-2-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/system-common-macros.at b/tests/system-common-macros.at index 4bfc74582..177178067 100644 --- a/tests/system-common-macros.at +++ b/tests/system-common-macros.at @@ -59,7 +59,7 @@ m4_define([ADD_BR], [ovs-vsctl _ADD_BR([$1]) -- $2]) # The existing 'port' or 'ovs-port' will be removed before new ones are added. # m4_define([ADD_VETH], - [ AT_CHECK([ip link add $1 type veth peer name ovs-$1 || return 77]) + [ AT_CHECK([ip link add $1 type veth peer name ovs-$1]) CONFIGURE_VETH_OFFLOADS([$1]) AT_CHECK([ip link set $1 netns $2]) AT_CHECK([ip link set dev ovs-$1 up])
Before this patch, the test was seen as "skipped" if ip link was failing. Signed-off-by: Xavier Simonart <xsimonar@redhat.com> --- tests/system-common-macros.at | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)