You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ad...@apache.org on 2018/06/28 13:30:11 UTC
[ambari] branch trunk updated: AMBARI-24205. Disable flaky test:
TestHeartbeatHandler.testComponents (#1638)
This is an automated email from the ASF dual-hosted git repository.
adoroszlai pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ambari.git
The following commit(s) were added to refs/heads/trunk by this push:
new 40da07e AMBARI-24205. Disable flaky test: TestHeartbeatHandler.testComponents (#1638)
40da07e is described below
commit 40da07e13e0e560489de5d0e2b217eaeccabd956
Author: Doroszlai, Attila <64...@users.noreply.github.com>
AuthorDate: Thu Jun 28 15:30:06 2018 +0200
AMBARI-24205. Disable flaky test: TestHeartbeatHandler.testComponents (#1638)
---
.../java/org/apache/ambari/server/agent/TestHeartbeatHandler.java | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/ambari-server/src/test/java/org/apache/ambari/server/agent/TestHeartbeatHandler.java b/ambari-server/src/test/java/org/apache/ambari/server/agent/TestHeartbeatHandler.java
index ca417c0..00566d7 100644
--- a/ambari-server/src/test/java/org/apache/ambari/server/agent/TestHeartbeatHandler.java
+++ b/ambari-server/src/test/java/org/apache/ambari/server/agent/TestHeartbeatHandler.java
@@ -1301,17 +1301,14 @@ public class TestHeartbeatHandler {
}
- @Test
- public void testComponents() throws Exception,
- InvalidStateTransitionException {
+ @Test @Ignore
+ public void testComponents() throws Exception {
ComponentsResponse expected = new ComponentsResponse();
StackId dummyStackId = new StackId(DummyStackId);
Map<String, Map<String, String>> dummyComponents = new HashMap<>();
Map<String, String> dummyCategoryMap = new HashMap<>();
-
- dummyCategoryMap = new HashMap<>();
dummyCategoryMap.put("NAMENODE", "MASTER");
dummyComponents.put("HDFS", dummyCategoryMap);