2014-04-29 18:57 GMT+04:00 Konstantin Kolinko <[email protected]>:
> 2014-04-29 18:41 GMT+04:00 jean-frederic clere <[email protected]>:
>> Hi,
>>
>> Does someone know which upd ports are used by the tribes tests?
>> I tried to allow 4000-4005 but that didn't help :-(
>>
>
> From old e-mails in my mailbox I think so. (Some test error messages
> mention port numbers). I have not looked into the code.
>
> Maybe try running org.apache.catalina.tribes.TesterMulticast ?
> It is mentioned in BUILDING.txt
Looking at souгce code and searching through log files of a full
Tomcat8 tests run with NIO connector, I can say the following.
4000-4005 are TCP ports
The only test that has UDP enabled is
org.apache.catalina.tribes.group.TestGroupChannelStartStop
It uses "udpPort = 45543".
There are two other tests,
org.apache.catalina.tribes.test.channel.TestMulticastPackages
org.apache.catalina.tribes.test.channel.TestUdpPackages
that use "setUdpPort(50000)";
but those two tests are excluded by default in build.xml, with
<!-- Exclude the tests known to fail -->
<exclude name="org/apache/catalina/tribes/test/**" />
The rest of tests are not using UDP.
(There are some that log UDP Port=-1, which is the default value for
MemberImpl.udpPort, AbstractSender.udpPort, ReceiverBase.udpPort and
means that UDP is disabled)
Best regards,
Konstantin Kolinko
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]