diff options
author | Martin Polden <mpolden@mpolden.no> | 2023-10-04 15:39:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-04 15:39:46 +0200 |
commit | 73a7347427cd4816582beca2a9b74256d0fc8d80 (patch) | |
tree | 5d44db84b068b361fc036a43964d8a0aecb8e92f /controller-server/src/test/java/com | |
parent | 6a05219150ff1c5f204a069e5aadb8e8af42525b (diff) | |
parent | c1d6226504d99b503ec720ade82b2894980218b2 (diff) |
Merge pull request #28791 from vespa-engine/mpolden/optional-container-id
Make container ID optional in BasicServicesXml
Diffstat (limited to 'controller-server/src/test/java/com')
-rw-r--r-- | controller-server/src/test/java/com/yahoo/vespa/hosted/controller/application/pkg/BasicServicesXmlTest.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/application/pkg/BasicServicesXmlTest.java b/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/application/pkg/BasicServicesXmlTest.java index c28185466b0..f7bd1e06e68 100644 --- a/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/application/pkg/BasicServicesXmlTest.java +++ b/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/application/pkg/BasicServicesXmlTest.java @@ -18,11 +18,13 @@ class BasicServicesXmlTest { public void parse() { assertServices(new BasicServicesXml(List.of()), "<services/>"); assertServices(new BasicServicesXml(List.of(new Container("foo", List.of(Container.AuthMethod.mtls), List.of()), - new Container("bar", List.of(Container.AuthMethod.mtls), List.of()))), + new Container("bar", List.of(Container.AuthMethod.mtls), List.of()), + new Container("container", List.of(Container.AuthMethod.mtls), List.of()))), """ <services> <container id="foo"/> <container id="bar"/> + <container/> </services> """); assertServices(new BasicServicesXml(List.of( |