tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <knst.koli...@gmail.com>
Subject Re: udp port used by the tribes tests
Date Tue, 29 Apr 2014 22:57:22 GMT
2014-04-29 18:57 GMT+04:00 Konstantin Kolinko <knst.kolinko@gmail.com>:
> 2014-04-29 18:41 GMT+04:00 jean-frederic clere <jfclere@gmail.com>:
>> 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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message