[
https://issues.apache.org/jira/browse/WHIRR-75?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12900756#action_12900756
]
Tom White commented on WHIRR-75:
--------------------------------
Thanks for taking a look, Adrian.
> I'd like to see an example of creating the configuration without using
> properties files.
See DestroyClusterCommandTest which constructs a PropertiesConfiguration in
code, without loading it from a properties file. Is this what you mean?
> for some reason, only hadoop seems to pass integration tests now. perhaps it
> is transient...
Could it be that your originating IP changes between calls? To work around this
you could create a properties file called _.whirr-test.properties_ in your home
directory containing
{noformat}
whirr.client-cidrs=0.0.0.0/0
{noformat}
(or a more restrictive CIDR). Then run tests using
{noformat}
mvn verify -DargLine="-Dwhirr.test.identity=$AWS_ACCESS_KEY_ID
-Dwhirr.test.credential=$AWS_SECRET_ACCESS_KEY -Dconfig=.whirr-test.properties"
{noformat}
> Use Commons Configuration to manage cluster specs
> -------------------------------------------------
>
> Key: WHIRR-75
> URL: https://issues.apache.org/jira/browse/WHIRR-75
> Project: Whirr
> Issue Type: Improvement
> Components: core
> Reporter: Tom White
> Assignee: Tom White
> Fix For: 0.1.0
>
> Attachments: WHIRR-75.patch
>
>
> Apache Commons Configuration
> (http://commons.apache.org/configuration/index.html) would be useful to share
> configuration information between the CLI and the tests.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.