QueueServer should support reset()

Bug #393621 reported by Barry Warsaw
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lazr.smtptest
Fix Released
High
Barry Warsaw

Bug Description

QueueServer should include this method:

    def reset(self):
        # Consume everything out of the queue.
        while True:
            try:
                self.queue.get_nowait()
            except queue.Empty:
                break

Related branches

Barry Warsaw (barry)
Changed in lazr.smtptest:
assignee: nobody → Barry Warsaw (barry)
importance: Undecided → High
milestone: none → 1.2
status: New → In Progress
Revision history for this message
Barry Warsaw (barry) wrote :

r61

Changed in lazr.smtptest:
status: In Progress → Fix Committed
Barry Warsaw (barry)
Changed in lazr.smtptest:
status: Fix Committed → Fix Released
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.