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

[9.4] ISPN-9748 Default transport for the test suite should be the same #6443

Conversation

diegolovison
Copy link
Contributor

Default transport for the test suite should be the same except if it was activated by another profile

@@ -74,7 +74,7 @@ protected Integer initialValue() {
};

static {
JGROUPS_STACK = LegacyKeySupportSystemProperties.getProperty("infinispan.test.jgroups.protocol", "protocol.stack", "tcp");
JGROUPS_STACK = LegacyKeySupportSystemProperties.getProperty("infinispan.test.jgroups.protocol", "protocol.stack", "udp");
Copy link
Member

Choose a reason for hiding this comment

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

I'm a bit concerned about changing the default to udp because we've had problems with multicasting on Macs before, but I guess it's already the default in the server so it must be working now.

Also, I'm thinking about changing the name to infinispan.test.jgroups.stack, using infinispan.test.jgroups.protocol as fallback in library tests and default.transport.stack as fallback in server tests. protocol always seemed a bit weird here, but I do want to keep infinispan.test as part of the property name :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

multicasting on Macs

Multicasting on Macs is still an issue for Embedded and Server mode. If you are using UDP without -Djava.net.preferIPv4Stack=true the cluster won't form.
The Jgroups issue is https://issues.jboss.org/browse/JGRP-2305 and it was fixed in 4.0.16. ISPN is using 4.0.15.Final and Jgroups 4.0.16 was not released yet. I prefer cut a release for Jgroups, update the Jgroups version for ISPN and then merge that PR. What do you think?

Properties

Do you mean getProperty("infinispan.test.jgroups.stack", "default.transport.stack", "udp") ?

@wburns wburns changed the title ISPN-9748 Default transport for the test suite should be the same [9.4.x] ISPN-9748 Default transport for the test suite should be the same Nov 30, 2018
@tristantarrant tristantarrant changed the title [9.4.x] ISPN-9748 Default transport for the test suite should be the same [9.4] ISPN-9748 Default transport for the test suite should be the same Feb 14, 2019
@diegolovison
Copy link
Contributor Author

I am closing this until having a final solution for #6442

@diegolovison
Copy link
Contributor Author

See #6827

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
3 participants