Repository: ambari
Updated Branches:
  refs/heads/trunk b1c67d97e -> e3a50d946


AMBARI-21582 - Stack Tools and Feature Should be Ignored in Blueprints (part2) 
(jonathanhurley)


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

Branch: refs/heads/trunk
Commit: e3a50d9464479d59b5899eef6c7e0c80a2785bce
Parents: b1c67d9
Author: Jonathan Hurley <jhur...@hortonworks.com>
Authored: Thu Jul 27 10:15:46 2017 -0400
Committer: Jonathan Hurley <jhur...@hortonworks.com>
Committed: Thu Jul 27 10:18:01 2017 -0400

----------------------------------------------------------------------
 .../server/topology/ClusterConfigurationRequestTest.java      | 7 +++++++
 1 file changed, 7 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/e3a50d94/ambari-server/src/test/java/org/apache/ambari/server/topology/ClusterConfigurationRequestTest.java
----------------------------------------------------------------------
diff --git 
a/ambari-server/src/test/java/org/apache/ambari/server/topology/ClusterConfigurationRequestTest.java
 
b/ambari-server/src/test/java/org/apache/ambari/server/topology/ClusterConfigurationRequestTest.java
index 5535256..226cedd 100644
--- 
a/ambari-server/src/test/java/org/apache/ambari/server/topology/ClusterConfigurationRequestTest.java
+++ 
b/ambari-server/src/test/java/org/apache/ambari/server/topology/ClusterConfigurationRequestTest.java
@@ -58,6 +58,7 @@ import org.easymock.EasyMock;
 import org.easymock.EasyMockRule;
 import org.easymock.Mock;
 import org.easymock.MockType;
+import org.junit.Before;
 import org.junit.Rule;
 import org.junit.Test;
 import org.junit.runner.RunWith;
@@ -111,6 +112,12 @@ public class ClusterConfigurationRequestTest {
   private final String STACK_NAME = "testStack";
   private final String STACK_VERSION = "1";
   private final Map<String, Map<String, String>> stackProperties = new 
HashMap<>();
+  private final Map<String, String> defaultClusterEnvProperties = new 
HashMap<>();
+
+  @Before
+  public void setup() {
+    stackProperties.put(ConfigHelper.CLUSTER_ENV, defaultClusterEnvProperties);
+  }
 
   /**
    * testConfigType config type should be in updatedConfigTypes, as no custom 
property in Blueprint

Reply via email to