smtp port for appserver tests is statically allocated

Bug #663615 reported by Robert Collins
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned

Bug Description

This happens in configs/testrunner-appserver/mail-configure.zcml, which the overrides file for appserver configs includes.

We need to allocate it dynamically and then write to the zcml - which means we need to only *ever* process that zcml /after/ starting the mailer. (Or allocate it before reading the zcml and pass the socket around).

Revision history for this message
Gary Poster (gary) wrote :

Writing zcml dynamically doesn't sound that great to me. I don't know the context offhand so I don't have any concrete suggestions, but I'd want to make sure that there wasn't another, better approach before going down this path.

Changed in launchpad-foundations:
status: New → Triaged
importance: Undecided → Low
Revision history for this message
Robert Collins (lifeless) wrote : Re: [Bug 663615] Re: smtp port for appserver tests is statically allocated

On Thu, Oct 21, 2010 at 4:08 AM, Gary Poster <email address hidden> wrote:
> Writing zcml dynamically doesn't sound that great to me.  I don't know
> the context offhand so I don't have any concrete suggestions, but I'd
> want to make sure that there wasn't another, better approach before
> going down this path.

If you can advise how to communicate this differently, that would be awesome:

configs/testrunner-appserver/mail-configure.zcml

Revision history for this message
Robert Collins (lifeless) wrote :

We're moving forward on making LXC the recommended parallel-test environment; this bug is still relevant for a combination of hygiene and permitting non-LXC local parallel tests, but its not relevant for LXC based testing as each LXC container runs a single thread of tests and has isolated ip addresses

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.