You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Wing Lam (JIRA)" <ji...@apache.org> on 2018/01/17 01:03:00 UTC

[jira] [Commented] (AMBARI-22726) Test failing with no changes - BlueprintImplTest.testValidateConfigurations__hostGroupConfigForNameNodeHAPositive

    [ 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)