You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by vb...@apache.org on 2014/07/24 18:51:55 UTC
git commit: AMBARI-6600. HttpPropertyProviderTest fails.(vbrodetskyi)
Repository: ambari
Updated Branches:
refs/heads/trunk 2313d2006 -> ec858410e
AMBARI-6600. HttpPropertyProviderTest fails.(vbrodetskyi)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/ec858410
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/ec858410
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/ec858410
Branch: refs/heads/trunk
Commit: ec858410ef9dcf038b1293281b6a866d9ff9792b
Parents: 2313d20
Author: Vitaly Brodetskyi <vb...@hortonworks.com>
Authored: Thu Jul 24 18:59:59 2014 +0300
Committer: Vitaly Brodetskyi <vb...@hortonworks.com>
Committed: Thu Jul 24 18:59:59 2014 +0300
----------------------------------------------------------------------
.../server/controller/internal/HttpPropertyProviderTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/ec858410/ambari-server/src/test/java/org/apache/ambari/server/controller/internal/HttpPropertyProviderTest.java
----------------------------------------------------------------------
diff --git a/ambari-server/src/test/java/org/apache/ambari/server/controller/internal/HttpPropertyProviderTest.java b/ambari-server/src/test/java/org/apache/ambari/server/controller/internal/HttpPropertyProviderTest.java
index 6883514..bf3550f 100644
--- a/ambari-server/src/test/java/org/apache/ambari/server/controller/internal/HttpPropertyProviderTest.java
+++ b/ambari-server/src/test/java/org/apache/ambari/server/controller/internal/HttpPropertyProviderTest.java
@@ -265,7 +265,7 @@ public class HttpPropertyProviderTest {
throw new IOException("Fake error");
}
- String responseStr = "{\"alerts\": [{\"Alert Body\": \"Body\"}],\"clusterInfo\": [{\"haState\": \"ACTIVE\"}],"
+ String responseStr = "{\"alerts\": [{\"Alert Body\": \"Body\"}],\"clusterInfo\": {\"haState\": \"ACTIVE\"},"
+ " \"hostcounts\": {\"up_hosts\":\"1\", \"down_hosts\":\"0\"}}";
return new ByteArrayInputStream(responseStr.getBytes("UTF-8"));
}