You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by jo...@apache.org on 2017/07/31 14:01:26 UTC
[02/16] ambari git commit: AMBARI-21582 - Stack Tools and Feature
Should be Ignored in Blueprints (part2) (jonathanhurley)
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/096d75d7
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/096d75d7
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/096d75d7
Branch: refs/heads/branch-2.6
Commit: 096d75d7f96a916155ca1b9466783eda5e5f6416
Parents: 2ed75d7
Author: Jonathan Hurley <jh...@hortonworks.com>
Authored: Thu Jul 27 10:15:46 2017 -0400
Committer: Jonathan Hurley <jh...@hortonworks.com>
Committed: Thu Jul 27 10:15:46 2017 -0400
----------------------------------------------------------------------
.../server/topology/ClusterConfigurationRequestTest.java | 7 +++++++
1 file changed, 7 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/096d75d7/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 6e47b02..e9445d5 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
@@ -57,6 +57,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;
@@ -110,6 +111,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