Open Bug 628725 Opened 13 years ago Updated 2 years ago

Investigate making fakeserver play nicely with async utils

Categories

(MailNews Core :: Testing Infrastructure, defect)

defect

Tracking

(Not tracked)

People

(Reporter: standard8, Unassigned)

Details

Per bug 486996, we should investigate making fakeserver play nicely with the async_driver utilities.

As per Andrew's comment on that bug:

> That still sounds orange-prone.  Presumably the issue is that
> server.performTest spins a nested event loop?  It might be advisable to stop
> using the fakeserver methods that spin nested event loops.  One could add
> methods on the fakeserver that are asyncTestUtils aware and so allow it to
> block the forward motion of the async stack without adding that extra confusion
> factor...
> 
> (server.stop() also does this.)

Assigning this to Andrew as I suspect he'll get to a patch quicker than I would do at the moment.
Assignee: bugmail → nobody
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.