Skip to content

Conversation

@jasontedor
Copy link
Member

When Netty 4 was introduced, it was not the default network
implementation. Some tests were constructed to randomly use Netty 4
instead of the default network implementation. When Netty 4 was made the
default implementation, these tests were not updated. Thus, these tests
are randomly choosing between the default network implementation (Netty
4) and Netty 4. This commit updates these tests to reverse the role of
Netty 3 and Netty 4 so that the randomization is choosing between Netty
3 and the default (again, now Netty 4).

Relates #19526, relates #19563

When Netty 4 was introduced, it was not the default network
implementation. Some tests were constructed to randomly use Netty 4
instead of the default network implementation. When Netty 4 was made the
default implementation, these tests were not updated. Thus, these tests
are randomly choosing between the default network implementation (Netty
4) and Netty 4. This commit updates these tests to reverse the role of
Netty 3 and Netty 4 so that the randomization is choosing between Netty
3 and the default (again, now Netty 4).
@jasontedor jasontedor added >test Issues or PRs that are addressing/adding tests review :Distributed Coordination/Network Http and internode communication implementations v5.0.0-beta1 labels Aug 31, 2016
@jaymode
Copy link
Member

jaymode commented Aug 31, 2016

LGTM

@jasontedor jasontedor merged commit 54083f7 into elastic:master Aug 31, 2016
@jasontedor jasontedor deleted the netty-3-randomization branch August 31, 2016 19:41
@jasontedor
Copy link
Member Author

Thanks @jaymode!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Distributed Coordination/Network Http and internode communication implementations >test Issues or PRs that are addressing/adding tests v5.0.0-beta1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants