[
https://issues.apache.org/jira/browse/AMBARI-22726?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16328083#comment-16328083
]
Wing Lam commented on AMBARI-22726:
-----------------------------------
Just added pull request to fix the spurious test failures ofÂ
testValidateConfigurations__hostGroupConfigForNameNodeHAPositive by having the
test use its own specific server configuration. Please let me know if another
way of fixing it would be preferred (e.g., using a setup/teardown method
instead).
> Test failing with no changes -
> BlueprintImplTest.testValidateConfigurations__hostGroupConfigForNameNodeHAPositive
> ------------------------------------------------------------------------------------------------------------------
>
> Key: AMBARI-22726
> URL: https://issues.apache.org/jira/browse/AMBARI-22726
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Affects Versions: trunk
> Environment: Ubuntu, 16.04 LTS
> Reporter: Wing Lam
> Priority: Minor
> Labels: pull-request-available
> Fix For: trunk
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> When I run just the test
> testValidateConfigurations__hostGroupConfigForNameNodeHAPositive in an IDE,
> the test fails.
> It appears that the problem is that the configuration for the
> BlueprintValidatorImpl is not set up in
> testValidateConfigurations__hostGroupConfigForNameNodeHAPositive. Instead,
> some other tests setup some configuration for the
> testValidateConfigurations__hostGroupConfigForNameNodeHAPositive test.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)