Glad to be of help.

It's one of my bugbears that the SMTP server needs a port specifying. For integration tests who cares ? The server should have a constructor that doesn't need a port and just starts on the next free one, which can then be accessed via a get method. For multiple builds on the same server there is a chance that the email integration tests can fail due to the ports being in use at the same time. Slim chance maybe, but still a possibility.

On 29 Oct 2008, at 21:30, SeanMcTex wrote:



Magnolia - User mailing list-2 wrote:

Yes, we had the same issue. I modified the setup() method of the test
to increment the port for each test, and it works fine.


Thanks, Jon and Gregory. I'm watching the ticket now, and modified the tests in the meantime to use incrementing port numbers. It's building like a champ
now!

Sean
--
View this message in context: 
http://www.nabble.com/Mail-Tests-Failing-on-Linux-tp20216549p20236287.html
Sent from the Magnolia - User mailing list archive at Nabble.com.


----------------------------------------------------------------
for list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
----------------------------------------------------------------


----------------------------------------------------------------
for list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
----------------------------------------------------------------

Reply via email to