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

Add maven profile to run tests with -Dio.netty.noUnsafe=true #4847

Closed
wants to merge 1 commit into from

Conversation

normanmaurer
Copy link
Member

Motivation:

We had reports of failures before when sun.misc.Unsafe was not present. We should run our tests also with it disable to ensure everything works even if sun.misc.Unsafe is not present on the system.

Modifications:

Add a new profile which allows to run tests without Unsafe (using -PnoUnsafe)

Result:

Better testing of netty for systems where sun.misc.Unsafe is not present.

Motivation:

We had reports of failures before when sun.misc.Unsafe was not present. We should run our tests also with it disable to ensure everything works even if sun.misc.Unsafe is not present on the system.

Modifications:

Add a new profile which allows to run tests without Unsafe (using -PnoUnsafe)

Result:

Better testing of netty for systems where sun.misc.Unsafe is not present.
@normanmaurer
Copy link
Member Author

@Scottmitch @nmittler PTAL

@normanmaurer normanmaurer self-assigned this Feb 5, 2016
@normanmaurer normanmaurer added this to the 4.0.35.Final milestone Feb 5, 2016
@Scottmitch
Copy link
Member

lgtm

@nmittler
Copy link
Member

nmittler commented Feb 6, 2016

LGTM

@normanmaurer
Copy link
Member Author

Cherry-Picked into 4.0 (9df2540) and 4.1 (a88c89a)

@normanmaurer normanmaurer deleted the no_unsafe_profile branch February 6, 2016 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants