lazr.smtptest increases fragility of Launchpad appserver layer tests
Bug #806744 reported by
Gary Poster
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Gary Poster | ||
lazr.smtptest |
Fix Released
|
Undecided
|
Gary Poster |
Bug Description
lazr.smtptest uses asynccore in a non-thread-safe way (because stdlib's smtpd, the base, does too). This increases the fragility of our appserver layer tests. The effect appears to be significant in my experiments so far: after fixing it, I have not seen random the random failures I had seen previously when testing yui xhr tests.
Related branches
lp:~gary/lazr.smtptest/threadsafety
- Barry Warsaw: Approve
-
Diff: 103 lines (+37/-6)3 files modifiedsrc/lazr/smtptest/NEWS.txt (+11/-0)
src/lazr/smtptest/server.py (+25/-5)
src/lazr/smtptest/version.txt (+1/-1)
lp:~gary/launchpad/bug806744
- Gary Poster (community): Approve
-
Diff: 12 lines (+1/-1)1 file modifiedversions.cfg (+1/-1)
Changed in launchpad: | |
status: | Triaged → In Progress |
Changed in lazr.smtptest: | |
status: | New → In Progress |
assignee: | nobody → Gary Poster (gary) |
Changed in launchpad: | |
importance: | Low → High |
tags: | added: qa-ok |
Changed in launchpad: | |
status: | In Progress → Fix Released |
Changed in lazr.smtptest: | |
status: | In Progress → Fix Released |
To post a comment you must log in.