brooklyn-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From geom...@apache.org
Subject [3/4] brooklyn-server git commit: Fix integration tests
Date Mon, 27 Mar 2017 15:21:29 GMT
Fix integration tests


Project: http://git-wip-us.apache.org/repos/asf/brooklyn-server/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-server/commit/a4242e91
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-server/tree/a4242e91
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-server/diff/a4242e91

Branch: refs/heads/master
Commit: a4242e913eed4c2b0750064c2d5339115b132942
Parents: f1d08ee
Author: Thomas Bouron <thomas.bouron@cloudsoftcorp.com>
Authored: Mon Mar 27 15:06:18 2017 +0100
Committer: Thomas Bouron <thomas.bouron@cloudsoftcorp.com>
Committed: Mon Mar 27 15:06:18 2017 +0100

----------------------------------------------------------------------
 .../brooklyn/rest/test/entity/VanillaSoftwareProcessTest.java      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/brooklyn-server/blob/a4242e91/rest/rest-server/src/test/java/org/apache/brooklyn/rest/test/entity/VanillaSoftwareProcessTest.java
----------------------------------------------------------------------
diff --git a/rest/rest-server/src/test/java/org/apache/brooklyn/rest/test/entity/VanillaSoftwareProcessTest.java
b/rest/rest-server/src/test/java/org/apache/brooklyn/rest/test/entity/VanillaSoftwareProcessTest.java
index 05d63b9..1265aa6 100644
--- a/rest/rest-server/src/test/java/org/apache/brooklyn/rest/test/entity/VanillaSoftwareProcessTest.java
+++ b/rest/rest-server/src/test/java/org/apache/brooklyn/rest/test/entity/VanillaSoftwareProcessTest.java
@@ -81,7 +81,7 @@ public class VanillaSoftwareProcessTest extends BrooklynRestApiLauncherTestFixtu
         // Add catalogue item.
         HttpToolResponse response = node.http().post(
                 "/catalog",
-                ImmutableMap.<String, String>of(),
+                ImmutableMap.<String, String>of("Content-type", "application/yaml"),
                 catalogYaml.getBytes());
         HttpAsserts.assertHealthyStatusCode(response.getResponseCode());
 


Mime
View raw message