Merge lp:~alecu/ubuntuone-control-panel/webclient-shutdowns into lp:ubuntuone-control-panel
Proposed by
Alejandro J. Cura
Status: | Rejected | ||||
---|---|---|---|---|---|
Rejected by: | Alejandro J. Cura | ||||
Proposed branch: | lp:~alecu/ubuntuone-control-panel/webclient-shutdowns | ||||
Merge into: | lp:ubuntuone-control-panel | ||||
Diff against target: |
226 lines (+190/-1) 3 files modified
ubuntuone/controlpanel/web_client/tests/__init__.py (+19/-0) ubuntuone/controlpanel/web_client/tests/test_txwebclient.py (+153/-0) ubuntuone/controlpanel/web_client/txwebclient.py (+18/-1) |
||||
To merge this branch: | bzr merge lp:~alecu/ubuntuone-control-panel/webclient-shutdowns | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Natalia Bidart (community) | Needs Fixing | ||
Review via email: mp+74708@code.launchpad.net |
Commit message
- Do not throw a webclient error when closing (LP: #845105).
Description of the change
Do not throw a webclient error when closing (LP: #845105)
To post a comment you must log in.
The branch looks good, but I'm getting this in windows:
======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= == trial.util. DirtyReactorAgg regateError: Reactor was unclean. internet. base.DelayedCal l.debug = True to debug) failIfNotConn ror('', ))>
[ERROR]
Traceback (most recent call last):
Failure: twisted.
DelayedCalls: (set twisted.
<DelayedCall 0x5dad710 [29.004999876s] called=0 cancelled=0 Client.
ected(TimeoutEr
ubuntuone. controlpanel. web_client. tests.test_ txwebclient. WebClientShutdo wnTestCa ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= == trial.util. DirtyReactorAgg regateError: Reactor was unclean. internet. tcp.Client' > to ('localhost', 50832) at 5dac6d0>
se.test_shutdown
=======
[ERROR]
Traceback (most recent call last):
Failure: twisted.
Selectables:
<<class 'twisted.
ubuntuone. controlpanel. web_client. tests.test_ txwebclient. WebClientShutdo wnTestCa ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- --
se.test_shutdown
-------
As far as I can see, if the test finished because d2 was fired, the deferred d3 leaves the reactor unclean with the callLater thing added.