ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mpapirkovs...@apache.org
Subject [1/3] ambari git commit: AMBARI-21193. Add TopologyChange event to the server (mpapirkovskyy)
Date Wed, 07 Jun 2017 15:51:39 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-3.0-perf 5d0962421 -> c2ab4a3ce


http://git-wip-us.apache.org/repos/asf/ambari/blob/c2ab4a3c/ambari-server/src/test/java/org/apache/ambari/server/testing/DBInconsistencyTests.java
----------------------------------------------------------------------
diff --git a/ambari-server/src/test/java/org/apache/ambari/server/testing/DBInconsistencyTests.java
b/ambari-server/src/test/java/org/apache/ambari/server/testing/DBInconsistencyTests.java
index 84f0277..930d30c 100644
--- a/ambari-server/src/test/java/org/apache/ambari/server/testing/DBInconsistencyTests.java
+++ b/ambari-server/src/test/java/org/apache/ambari/server/testing/DBInconsistencyTests.java
@@ -23,6 +23,7 @@ import java.util.List;
 import javax.persistence.EntityManager;
 import javax.persistence.EntityTransaction;
 
+import org.apache.ambari.server.controller.internal.DeleteHostComponentStatusMetaData;
 import org.apache.ambari.server.orm.GuiceJpaInitializer;
 import org.apache.ambari.server.orm.InMemoryDefaultTestModule;
 import org.apache.ambari.server.orm.OrmTestHelper;
@@ -108,7 +109,7 @@ public class DBInconsistencyTests {
     Collection<ServiceComponent> scList = cluster.getService("HDFS").getServiceComponents().values();
     Assert.assertNotNull(schList);
 
-    cluster.deleteService("HDFS");
+    cluster.deleteService("HDFS", new DeleteHostComponentStatusMetaData());
 
     List<HostComponentDesiredStateEntity> hostComponentDesiredStateEntities =
       hostComponentDesiredStateDAO.findAll();


Mime
View raw message