[ http://jira.magnolia.info/browse/MAGNOLIA-983?page=comments#action_12159
]
Oliver Lietz commented on MAGNOLIA-983:
---------------------------------------
"server = SimpleSmtpServer.start(SMTP_PORT);" fails silently in AbstractMailTest
Throws an exception when trying to bind to privileged port (running as normal
user):
java.net.BindException: Permission denied
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
at java.net.ServerSocket.bind(ServerSocket.java:319)
at java.net.ServerSocket.<init>(ServerSocket.java:185)
at java.net.ServerSocket.<init>(ServerSocket.java:97)
at com.dumbster.smtp.SimpleSmtpServer.run(Unknown Source)
at java.lang.Thread.run(Thread.java:613)
Same silent failure when running as root with privileged port.
> magnolia-module-mail: Tests are broken on Mac OS X
> --------------------------------------------------
>
> Key: MAGNOLIA-983
> URL: http://jira.magnolia.info/browse/MAGNOLIA-983
> Project: magnolia
> Issue Type: Bug
> Affects Versions: 3.0 RC3
> Environment: OS: Mac OS X 10.4.7 PowerPC
> Java: java version "1.5.0_06", Java(TM) 2 Runtime Environment, Standard
> Edition (build 1.5.0_06-112), Java HotSpot(TM) Client VM (build 1.5.0_06-64,
> mixed mode, sharing)
> Reporter: Oliver Lietz
> Assigned To: Boris Kraft
> Priority: Minor
>
> The tests for magnolia-module-mail are broken - hang on execution. Other
> platforms not tested so far.
> (will try to debug when some spare time)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.magnolia.info/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------