Skip to content

Commit

Permalink
tests: Enable vif-plug tests and fix the vif-provider.
Browse files Browse the repository at this point in the history
Signed-off-by: Ihar Hrachyshka <ihrachys@redhat.com>
Acked-by: Frode Nordahl <frode.nordahl@canonical.com>
Signed-off-by: Numan Siddique <numans@ovn.org>
(cherry picked from commit c480348)
  • Loading branch information
booxter authored and numansiddique committed Aug 8, 2022
1 parent 27fb6d4 commit a325d9c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion controller/test-vif-plug.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ test_vif_plug(struct ovs_cmdl_context *ctx OVS_UNUSED)
ovs_assert(
sset_contains(
vif_plug_get_maintained_iface_options(vif_plug_class),
"plug-dummy-option"));
"vif-plug-dummy-option"));

struct vif_plug_port_ctx_in ctx_in = {
.op_type = PLUG_OP_CREATE,
Expand Down
2 changes: 1 addition & 1 deletion tests/ovn-vif-plug.at
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
AT_BANNER([OVN unit tests - vif-plug])

AT_SETUP([unit test -- plugging infrastructure tests])
AT_CHECK([ovstest test-plug run], [0], [])
AT_CHECK([ovstest test-vif-plug run], [0], [])
AT_CLEANUP
1 change: 1 addition & 0 deletions tests/testsuite.at
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,4 @@ m4_include([tests/ovn-controller-vtep.at])
m4_include([tests/ovn-ic.at])
m4_include([tests/checkpatch.at])
m4_include([tests/ovn-ipsec.at])
m4_include([tests/ovn-vif-plug.at])

0 comments on commit a325d9c

Please sign in to comment.