ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From avija...@apache.org
Subject ambari git commit: AMBARI-17105 : Ambari Server Unit Test failures on trunk(avijayan)
Date Wed, 08 Jun 2016 15:46:50 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-2.4 b02400061 -> 065c2a8cf


AMBARI-17105 : Ambari Server Unit Test failures on trunk(avijayan)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/065c2a8c
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/065c2a8c
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/065c2a8c

Branch: refs/heads/branch-2.4
Commit: 065c2a8cf1e6f498fd86e92b2d62fa129c9fd006
Parents: b024000
Author: Aravindan Vijayan <avijayan@hortonworks.com>
Authored: Wed Jun 8 08:46:43 2016 -0700
Committer: Aravindan Vijayan <avijayan@hortonworks.com>
Committed: Wed Jun 8 08:46:43 2016 -0700

----------------------------------------------------------------------
 .../server/controller/internal/HostResourceProviderTest.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/065c2a8c/ambari-server/src/test/java/org/apache/ambari/server/controller/internal/HostResourceProviderTest.java
----------------------------------------------------------------------
diff --git a/ambari-server/src/test/java/org/apache/ambari/server/controller/internal/HostResourceProviderTest.java
b/ambari-server/src/test/java/org/apache/ambari/server/controller/internal/HostResourceProviderTest.java
index 76cd1d3..260ff92 100644
--- a/ambari-server/src/test/java/org/apache/ambari/server/controller/internal/HostResourceProviderTest.java
+++ b/ambari-server/src/test/java/org/apache/ambari/server/controller/internal/HostResourceProviderTest.java
@@ -967,8 +967,8 @@ public class HostResourceProviderTest extends EasyMockSupport {
   }
 
   private void testUpdateResources(Authentication authentication) throws Exception {
+    AuthorizationHelperInitializer.viewInstanceDAOReturningNull();
     Resource.Type type = Resource.Type.Host;
-
     Injector injector = createInjector();
     AmbariManagementController managementController = injector.getInstance(AmbariManagementController.class);
     Clusters clusters = injector.getInstance(Clusters.class);


Mime
View raw message