This is an automated email from the ASF dual-hosted git repository. wido pushed a commit to branch direct-routed-network in repository https://gitbox.apache.org/repos/asf/cloudstack.git
commit feb6102424f1fcead2c37e7eb26d83227a1c88f9 Author: Wido den Hollander <[email protected]> AuthorDate: Fri Sep 4 18:17:18 2026 +0000 test: update CreateNetworkCmdTest for the L3-aware physical network ID message CreateNetworkCmd.getPhysicalNetworkId() now accepts guest type L3 and its error message reads 'Shared, L2 or L3 only'; the test still asserted the old 'Shared or L2 only' text and failed. --- .../cloudstack/api/command/user/network/CreateNetworkCmdTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/test/java/org/apache/cloudstack/api/command/user/network/CreateNetworkCmdTest.java b/api/src/test/java/org/apache/cloudstack/api/command/user/network/CreateNetworkCmdTest.java index 3f5b7582802..8b1b8618094 100644 --- a/api/src/test/java/org/apache/cloudstack/api/command/user/network/CreateNetworkCmdTest.java +++ b/api/src/test/java/org/apache/cloudstack/api/command/user/network/CreateNetworkCmdTest.java @@ -251,7 +251,7 @@ public class CreateNetworkCmdTest { try { cmd.getPhysicalNetworkId(); } catch (Exception e) { - Assert.assertTrue(e.getMessage().startsWith("Physical network ID can be specified for networks of guest IP type Shared or L2 only.")); + Assert.assertTrue(e.getMessage().startsWith("Physical network ID can be specified for networks of guest IP type Shared, L2 or L3 only.")); } }
