[infinispan-dev] Infinispan testsuite's tcp.xml rename

Galder Zamarreño galder at redhat.com
Mon Oct 22 10:13:09 EDT 2012


Hi,

We seem to have several tcp.xml files:

- jgroups-3.2.0.CR1.jar!/tcp.xml
- infinispan-core-5.2.0.Beta2-tests.jar/tcp.xml

An external project that might want to use the standard tcp.xml for testing might have issues if it's also depending on the Infinispan tests jars, it might have issues, particularly cos that tcp.xml has RELAY2 configuration that's environment specific, i.e.

Caused by: java.lang.Exception: site configuration for "__site_name__" not found in configs/xsite/relay-config.xml
	at org.jgroups.protocols.relay.RELAY2.parseSiteConfiguration(RELAY2.java:161)
	at org.jgroups.protocols.relay.RELAY2.init(RELAY2.java:88)
	at org.jgroups.stack.ProtocolStack.initProtocolStack(ProtocolStack.java:857)
	at org.jgroups.stack.ProtocolStack.setup(ProtocolStack.java:469)
	at org.jgroups.JChannel.init(JChannel.java:749)
	at org.jgroups.JChannel.<init>(JChannel.java:167)
	at org.jgroups.JChannel.<init>(JChannel.java:137)
	at org.infinispan.remoting.transport.jgroups.JGroupsTransport.buildChannel(JGroupsTransport.java:365)
	... 74 more

So, what about we rename the tcp.xml in the infinispan testsuite?

Cheers,
--
Galder Zamarreño
galder at redhat.com
twitter.com/galderz

Project Lead, Escalante
http://escalante.io

Engineer, Infinispan
http://infinispan.org




More information about the infinispan-dev mailing list