http://git-wip-us.apache.org/repos/asf/ambari/blob/f33a250c/ambari-server/src/test/python/stacks/utils/RMFTestCase.py ---------------------------------------------------------------------- diff --git a/ambari-server/src/test/python/stacks/utils/RMFTestCase.py b/ambari-server/src/test/python/stacks/utils/RMFTestCase.py index 282b542..2f3794d 100644 --- a/ambari-server/src/test/python/stacks/utils/RMFTestCase.py +++ b/ambari-server/src/test/python/stacks/utils/RMFTestCase.py @@ -102,8 +102,12 @@ class RMFTestCase(TestCase): else: raise RuntimeError("Please specify either config_file_path or config_dict parameter") - self.config_dict["configurations"]["cluster-env"]["stack_tools"] = RMFTestCase.get_stack_tools() - self.config_dict["configurations"]["cluster-env"]["stack_features"] = RMFTestCase.get_stack_features() + # add the stack tools & features from the stack if the test case's JSON file didn't have them + if "stack_tools" not in self.config_dict["configurations"]["cluster-env"]: + self.config_dict["configurations"]["cluster-env"]["stack_tools"] = RMFTestCase.get_stack_tools() + + if "stack_features" not in self.config_dict["configurations"]["cluster-env"]: + self.config_dict["configurations"]["cluster-env"]["stack_features"] = RMFTestCase.get_stack_features() if config_overrides: for key, value in config_overrides.iteritems():
- [50/52] [abbrv] ambari git commit: Merge remote-tracking branch 'o... jluniya
- [35/52] [abbrv] ambari git commit: AMBARI-21430 - Allow Multiple V... jluniya
- [46/52] [abbrv] ambari git commit: AMBARI-21423 Add REST end point... jluniya
- [04/52] [abbrv] ambari git commit: AMBARI-21058 HDP 3.0 - Changing... jluniya
- [38/52] [abbrv] ambari git commit: AMBARI-21430 - Allow Multiple V... jluniya
- [24/52] [abbrv] ambari git commit: AMBARI-21416 Unable to Click on... jluniya
- [08/52] [abbrv] ambari git commit: AMBARI-21058 HDP 3.0 - Changing... jluniya
- [03/52] [abbrv] ambari git commit: AMBARI-21058 HDP 3.0 - Changing... jluniya
- [05/52] [abbrv] ambari git commit: AMBARI-21058 HDP 3.0 - Changing... jluniya
- [17/52] [abbrv] ambari git commit: AMBARI-21058 HDP 3.0 - Changing... jluniya
- [33/52] [abbrv] ambari git commit: AMBARI-21430 - Allow Multiple V... jluniya
- [30/52] [abbrv] ambari git commit: AMBARI-21409. Ambari agent not ... jluniya
- [12/52] [abbrv] ambari git commit: AMBARI-21058 HDP 3.0 - Changing... jluniya
- [32/52] [abbrv] ambari git commit: AMBARI-21400. Upgrade Infra Sol... jluniya
- [28/52] [abbrv] ambari git commit: AMBARI-21385. Selected hosts ar... jluniya
- [07/52] [abbrv] ambari git commit: AMBARI-21058 HDP 3.0 - Changing... jluniya
- [02/52] [abbrv] ambari git commit: AMBARI-21058 HDP 3.0 - Changing... jluniya
- [09/52] [abbrv] ambari git commit: AMBARI-21058 HDP 3.0 - Changing... jluniya
- [15/52] [abbrv] ambari git commit: AMBARI-21058 HDP 3.0 - Changing... jluniya
- [42/52] [abbrv] ambari git commit: AMBARI-21430. Allow Multiple Ve... jluniya
- [25/52] [abbrv] ambari git commit: AMBARI-21370: Support VIPs inst... jluniya
