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

Allow to disable jarhell check for tests on 2.2 with test.jarhell.check #16174

Merged
merged 1 commit into from
Jan 22, 2016

Conversation

s1monw
Copy link
Contributor

@s1monw s1monw commented Jan 22, 2016

This relates to #16042 where we agreed on adding an opt-out on 2.2 for test
to disable jarhell checks in the BootstrapForTesting.java - for other branches we
will use different solutions.

…eck`

This relates to elastic#16042 where we agreed on adding an opt-out on 2.2 for test
to disable jarhell checks in the BootstrapForTesting.java - for other branches we
will use different solutoins.
@s1monw s1monw added >test Issues or PRs that are addressing/adding tests v2.2.0 labels Jan 22, 2016
@s1monw
Copy link
Contributor Author

s1monw commented Jan 22, 2016

@clintongormley can you take a look?

@clintongormley
Copy link

LGTM

JarHell.checkJarHell();
} catch (Exception e) {
throw new RuntimeException("found jar hell in test classpath", e);
}
Copy link
Member

Choose a reason for hiding this comment

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

Should we log that jar hell has been deactivated?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

there is no logger here anyway... hot topic :)

Copy link
Member

Choose a reason for hiding this comment

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

haha! I was pretty sure you were going to answer that :)

s1monw added a commit that referenced this pull request Jan 22, 2016
Allow to disable jarhell check for tests on 2.2 with `test.jarhell.check`
@s1monw s1monw merged commit dd754a5 into elastic:2.2 Jan 22, 2016
brwe added a commit to brwe/elasticsearch that referenced this pull request Feb 26, 2016
Otherwise it will not be picked up when running the tests from
command line.

relates to elastic#16174
s1monw added a commit that referenced this pull request Mar 13, 2016
Allow to disable jarhell check for tests on 2.2 with `test.jarhell.check`
@s1monw s1monw added the v2.3.0 label Mar 13, 2016
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 v2.2.0 v2.3.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants