Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests: Add back tests.cluster #9916

Merged
merged 1 commit into from Feb 27, 2015
Merged

Conversation

rjernst
Copy link
Member

@rjernst rjernst commented Feb 27, 2015

This setting is used by the release script to run rest tests against
the version being released. It used to work only for tests using
the global cluster. Now it supercedes both SUITE and TEST scope
test clusters.

@javanna
Copy link
Member

javanna commented Feb 27, 2015

Thanks a lot for looking into this @rjernst !

Just one comment: I wonder if it makes sense to have an external cluster with scope TEST. given that the system property value will be the same and we don't recreate anything per test... it looks like it is going to be the same as SUITE, no? Maybe we should only do this for SUITE scope? maybe even barf if we try to run something with scope TEST against the external cluster? Thoughts?

@@ -1621,8 +1621,32 @@ protected Settings nodeSettings(int nodeOrdinal) {
protected Settings transportClientSettings() {
return ImmutableSettings.EMPTY;
}

private ExternalTestCluster buildExternalCluster(String clusterAddresses) {
logger.info("BUILDING EXTERNAL CLUSTER");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is this log uppercase? :)

@rjernst
Copy link
Member Author

rjernst commented Feb 27, 2015

@javanna I pushed a new commit that addresses your comments. The log message was unintentional.

@javanna
Copy link
Member

javanna commented Feb 27, 2015

LGTM thanks @rjernst

@rjernst rjernst added >test Issues or PRs that are addressing/adding tests v2.0.0-beta1 v1.5.0 labels Feb 27, 2015
This setting is used by the release script to run rest tests against
the version being released.  It used to work only for tests using
the global cluster.  Now it supercedes both SUITE and TEST scope
test clusters.

closes elastic#9916
@rjernst rjernst merged commit d59f5a3 into elastic:1.x Feb 27, 2015
rjernst added a commit that referenced this pull request Feb 27, 2015
This setting is used by the release script to run rest tests against
the version being released.  It used to work only for tests using
the global cluster.  Now it supercedes both SUITE and TEST scope
test clusters.

closes #9916
rjernst added a commit that referenced this pull request Feb 27, 2015
@rjernst rjernst deleted the fix/external-cluster branch March 24, 2015 03:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>test Issues or PRs that are addressing/adding tests v1.5.0 v2.0.0-beta1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants