<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On 22 Oct 2012, at 15:36, Galder Zamarreņo wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Actually, my problem is not so the need for the renaming (which is needed anyway), but the fact that 2LC was relying on Infinispan's test tcp.xml file, because it used:<br><br>&lt;org.infinispan.test.fwk.TEST_PING ergonomics="false" testName=""/&gt;<br></div></blockquote>how did that get into the classpath? AFAIK we're only packing the test tcp.xml in the -test.jar, so didn't you have a bad dependency somehow? Or by "2LC" you're referring to the test suite of 2LC?<br><blockquote type="cite"><div><br>Now, why was "relay.RELAY2" added to the base tcp.xml in Infinispan testsuite?<br><br>Isn't this only needed for xsite tests? And if so, can't you have a xsite specific JGroups stack for testing?<br></div></blockquote>+1.</div><div>I've updated [1] to also track this.&nbsp;</div><div><br></div><div>[1]&nbsp;<a href="https://issues.jboss.org/browse/ISPN-2307">https://issues.jboss.org/browse/ISPN-2307</a><br><blockquote type="cite"><div><br>As far as 2LC is concerned, for the moment I'll use a separate tcp.xml for testing taht removes the relay stuff, but I don't wanna be duplicating stuff, and some fixes done to the base test tcp.xml can be handy for 2LC too.<br><br>Cheers,<br><br>On Oct 22, 2012, at 4:13 PM, Galder Zamarreņo &lt;<a href="mailto:galder@redhat.com">galder@redhat.com</a>&gt; wrote:<br><br><blockquote type="cite">Hi,<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">We seem to have several tcp.xml files:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">- jgroups-3.2.0.CR1.jar!/tcp.xml<br></blockquote><blockquote type="cite">- infinispan-core-5.2.0.Beta2-tests.jar/tcp.xml<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">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.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Caused by: java.lang.Exception: site configuration for "__site_name__" not found in configs/xsite/relay-config.xml<br></blockquote><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre">        </span>at org.jgroups.protocols.relay.RELAY2.parseSiteConfiguration(RELAY2.java:161)<br></blockquote><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre">        </span>at org.jgroups.protocols.relay.RELAY2.init(RELAY2.java:88)<br></blockquote><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre">        </span>at org.jgroups.stack.ProtocolStack.initProtocolStack(ProtocolStack.java:857)<br></blockquote><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre">        </span>at org.jgroups.stack.ProtocolStack.setup(ProtocolStack.java:469)<br></blockquote><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre">        </span>at org.jgroups.JChannel.init(JChannel.java:749)<br></blockquote><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre">        </span>at org.jgroups.JChannel.&lt;init&gt;(JChannel.java:167)<br></blockquote><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre">        </span>at org.jgroups.JChannel.&lt;init&gt;(JChannel.java:137)<br></blockquote><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre">        </span>at org.infinispan.remoting.transport.jgroups.JGroupsTransport.buildChannel(JGroupsTransport.java:365)<br></blockquote><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre">        </span>... 74 more<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">So, what about we rename the tcp.xml in the infinispan testsuite?<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Cheers,<br></blockquote><blockquote type="cite">--<br></blockquote><blockquote type="cite">Galder Zamarreņo<br></blockquote><blockquote type="cite"><a href="mailto:galder@redhat.com">galder@redhat.com</a><br></blockquote><blockquote type="cite"><a href="http://twitter.com/galderz">twitter.com/galderz</a><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Project Lead, Escalante<br></blockquote><blockquote type="cite"><a href="http://escalante.io">http://escalante.io</a><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Engineer, Infinispan<br></blockquote><blockquote type="cite"><a href="http://infinispan.org">http://infinispan.org</a><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">_______________________________________________<br></blockquote><blockquote type="cite">infinispan-dev mailing list<br></blockquote><blockquote type="cite"><a href="mailto:infinispan-dev@lists.jboss.org">infinispan-dev@lists.jboss.org</a><br></blockquote><blockquote type="cite"><a href="https://lists.jboss.org/mailman/listinfo/infinispan-dev">https://lists.jboss.org/mailman/listinfo/infinispan-dev</a><br></blockquote><br><br>--<br>Galder Zamarreņo<br><a href="mailto:galder@redhat.com">galder@redhat.com</a><br>twitter.com/galderz<br><br>Project Lead, Escalante<br>http://escalante.io<br><br>Engineer, Infinispan<br>http://infinispan.org<br><br><br>_______________________________________________<br>infinispan-dev mailing list<br>infinispan-dev@lists.jboss.org<br>https://lists.jboss.org/mailman/listinfo/infinispan-dev<br></div></blockquote></div><br><div apple-content-edited="true">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Cheers,</div><div>--&nbsp;<br>Mircea Markus</div><div>Infinispan lead&nbsp;(<a href="http://www.infinispan.org">www.infinispan.org</a>)</div><div><br></div></div></span></div></span></div></span></div><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">
</div>
<br></body></html>