This is an automated email from the ASF dual-hosted git repository. heneveld pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/brooklyn-server.git
commit 9221c54432bf07736e7662602796e3e6319ffb3e Author: Alex Heneveld <[email protected]> AuthorDate: Thu May 27 19:20:40 2021 +0100 fix test --- .../java/org/apache/brooklyn/rest/resources/EntityResourceTest.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/rest/rest-resources/src/test/java/org/apache/brooklyn/rest/resources/EntityResourceTest.java b/rest/rest-resources/src/test/java/org/apache/brooklyn/rest/resources/EntityResourceTest.java index 6485c43..59af350 100644 --- a/rest/rest-resources/src/test/java/org/apache/brooklyn/rest/resources/EntityResourceTest.java +++ b/rest/rest-resources/src/test/java/org/apache/brooklyn/rest/resources/EntityResourceTest.java @@ -114,13 +114,14 @@ public class EntityResourceTest extends BrooklynRestResourceTest { // Retrieve the yaml spec, and confirm it is as expected (not wrapped in quotes, and treating \n sensibly) Response response; if (acceptMimeType != null) { - response = client().path("/applications/" + appName + "/entities/" + appName + "/speclist") + response = client().path("/applications/" + appName + "/entities/" + appName + "/spec") .accept(acceptMimeType) .get(); } else { - response = client().path("/applications/" + appName + "/entities/" + appName + "/speclist") + response = client().path("/applications/" + appName + "/entities/" + appName + "/spec") .get(); } + HttpAsserts.assertHealthyStatusCode(response.getStatus()); String data = response.readEntity(String.class); assertEquals(data.trim(), yaml.trim());
