Merge lp:~dobey/ubuntuone-dev-tools/default-reactor into lp:ubuntuone-dev-tools
| Status: | Merged | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Approved by: | dobey on 2012-06-06 | ||||||||
| Approved revision: | 82 | ||||||||
| Merged at revision: | 75 | ||||||||
| Proposed branch: | lp:~dobey/ubuntuone-dev-tools/default-reactor | ||||||||
| Merge into: | lp:ubuntuone-dev-tools | ||||||||
| Diff against target: |
141 lines (+23/-21) 6 files modified
bin/u1lint (+0/-4) bin/u1trial (+10/-6) run-tests (+6/-5) run-tests.bat (+4/-5) setup.py (+1/-1) ubuntuone/devtools/services/squid.py (+2/-0) |
||||||||
| To merge this branch: | bzr merge lp:~dobey/ubuntuone-dev-tools/default-reactor | ||||||||
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Manuel de la Peña (community) | Approve on 2012-06-06 | ||
| Mike McCracken (community) | 2012-06-05 | Approve on 2012-06-05 | |
|
Review via email:
|
|||
Commit Message
Define a method to get the platform-dependent default reactor and use it
| Manuel de la Peña (mandel) wrote : | # |
Everything looks good. I would have simply done the following for the default reactor:
["reactor", "r", "gi" if sys.platform == "linux2" else "twisted"]
rather than using a function but I suppose the only reason I have to prefer that is that I'm lazy :)
| Ubuntu One Auto Pilot (otto-pilot) wrote : | # |
The attempt to merge lp:~dobey/ubuntuone-dev-tools/default-reactor into lp:ubuntuone-dev-tools failed. Below is the output from the failed tests.
Starting squid version...
Waiting for squid to start....
Waiting for squid to start.....
Waiting for squid to start......
Waiting for squid to start.......
ubuntuone.
MultipleWebSe
test_
test_
twisted.
TestCase
runTest ... [OK]
ubuntuone.
WebServerTestCase
test_get_iri ... [OK]
test_get_port ... [OK]
test_
test_
ubuntuone.
BaseTestCase
runTest ... [OK]
ubuntuone.
EnvironTestCase
test_
test_
test_
PathsTestCase
test_
test_
test_
test_
test_
test_
test_
SquidRunnerIn
test_
test_
SquidRunnerTe
test_
test_
test_
test_
ubuntuone.
DBusTestCase
runTest ... [OK]
ubuntuone.
TestWithDBus
test_
test_
ubuntuone.
SquidLinuxTes
test_
test_
test_

works for me on Windows.
on macos: runs same tests twice, since default is now twisted reactor
this is not a big deal to me, so I approve this merge