You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by wi...@apache.org on 2026/09/04 18:17:30 UTC

(cloudstack) branch direct-routed-network created (now feb6102424f)

This is an automated email from the ASF dual-hosted git repository.

wido pushed a change to branch direct-routed-network
in repository https://gitbox.apache.org/repos/asf/cloudstack.git


      at feb6102424f test: update CreateNetworkCmdTest for the L3-aware physical network ID message

This branch includes the following new commits:

     new feb6102424f test: update CreateNetworkCmdTest for the L3-aware physical network ID message

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(cloudstack) 01/01: test: update CreateNetworkCmdTest for the L3-aware physical network ID message

Posted by wi...@apache.org.
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 <wi...@widodh.nl>
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."));
         }
     }