Skip to content

Commit 79254e5

Browse files
committed
CP-44103: Unit tests for ordering network devices
The "test_network_device_order_inherited.ml" is inherited from the interface-rename functionality. Signed-off-by: Ming Lu <[email protected]>
1 parent f3cc65d commit 79254e5

6 files changed

+1074
-1
lines changed

ocaml/networkd/test/dune

+3
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,12 @@
66
astring
77

88
fmt
9+
macaddr
910
networklibs
1011
rpclib.core
1112
rpclib.json
13+
xapi-idl
14+
xapi-idl.network
1215
xapi-log
1316
xapi-test-utils)
1417
)

ocaml/networkd/test/network_test.ml

+5-1
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,8 @@
1515
let () =
1616
Debug.log_to_stdout () ;
1717
Alcotest.run "base_suite"
18-
(Network_test_lacp_properties.suite @ Test_jsonrpc_client.tests)
18+
(Network_test_lacp_properties.suite
19+
@ Test_jsonrpc_client.tests
20+
@ Test_network_device_order_inherited.tests
21+
@ Test_network_device_order.tests
22+
)

0 commit comments

Comments
 (0)