Merge lp:~mvo/software-center/dbus-idle-timeout into lp:software-center
Status: | Merged |
---|---|
Merged at revision: | 3217 |
Proposed branch: | lp:~mvo/software-center/dbus-idle-timeout |
Merge into: | lp:software-center |
Diff against target: |
219 lines (+113/-8) 3 files modified
software-center-dbus (+3/-1) softwarecenter/db/dataprovider.py (+63/-6) tests/test_dataprovider.py (+47/-1) |
To merge this branch: | bzr merge lp:~mvo/software-center/dbus-idle-timeout |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Gary Lasker (community) | 2012-10-01 | Approve on 2012-10-05 | |
Review via email:
|
Description of the change
This branch addresses bug #1058567 to ensure that the data provider
exits after a certain amount of time.
Gary Lasker (gary-lasker) wrote : | # |
- 3212. By Michael Vogt on 2012-10-02
-
move implementation of the dbus methods into a seperate function so that we can add decorators - the dbus.service.method decorator seems to not like additional decroators
Michael Vogt (mvo) wrote : | # |
Thanks, indeed, it looks like the dbus decorator does not like other decorators at the same time. I fixed this now and the tests work now on my box.
Michael Vogt (mvo) wrote : | # |
Anything holding this one back?
Gary Lasker (gary-lasker) wrote : | # |
Hi Michael, I'm sorry for the delay on this one! Ok, I just tried it and I'm still getting an error in the test. It seems that SoftwareCenterD
=======
ERROR: test_idle_timeout (__main_
-------
Traceback (most recent call last):
File "tests/
self.bus_name, main_loop=
File "/home/
self.
TypeError: an integer is required
-------
Ran 15 tests in 8.076s
FAILED (errors=1)
Gary Lasker (gary-lasker) wrote : | # |
Note that the above is when testing on Precise. I'll try this on a Quantal machine and see if I still get the error.
Gary Lasker (gary-lasker) wrote : | # |
Meanwhile I will approve this as the only issue is the failing test case. Michael, please feel free to merge this branch when the test is ready.
Thanks!
Michael Vogt (mvo) wrote : | # |
Thanks for the review, I just double checked, it fails on precise for me as well but works on quantal.
Hi Michael, thanks for your branch! Strangely, I'm getting a bunch of errors when I run the associated unit test, test_dataprovid er.py, as shown at the following pastebin:
http:// paste.ubuntu. com/1255206/
I'm not seeing these errors in current trunk. Do you have an idea about why I might be seeing these?
Many thanks!