Merge lp:~mardy/ubuntuone-credentials/fix-token-tests into lp:ubuntuone-credentials
| Status: | Rejected |
|---|---|
| Rejected by: | Natalia Bidart on 2017-05-19 |
| Proposed branch: | lp:~mardy/ubuntuone-credentials/fix-token-tests |
| Merge into: | lp:ubuntuone-credentials |
| Diff against target: |
72 lines (+9/-16) 2 files modified
libubuntuoneauth/tests/mock_sso_server.py.in (+1/-0) libubuntuoneauth/tests/test_token.cpp (+8/-16) |
| To merge this branch: | bzr merge lp:~mardy/ubuntuone-credentials/fix-token-tests |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| unity-api-1-bot | continuous-integration | Approve on 2016-08-10 | |
| Unity API Team | 2016-08-10 | Pending | |
|
Review via email:
|
|||
Commit Message
Tests: make sure the mock server is running before talking to it.
Intead of arbitrarily waiting 2 seconds for the mock server to be up, we make the server write a line to stdout, and we won't start the communication with it until we have received that line in the tests.
Also, terminate the server after the test, otherwise any instance started later will find the port busy.
Description of the Change
Tests: make sure the mock server is running before talking to it.
Intead of arbitrarily waiting 2 seconds for the mock server to be up, we make the server write a line to stdout, and we won't start the communication with it until we have received that line in the tests.
Also, terminate the server after the test, otherwise any instance started later will find the port busy.
| Natalia Bidart (nataliabidart) wrote : | # |
Started a massive cleanup of old MPs, closing this given its age, please update and re-open if still valid.
Unmerged revisions
- 248. By Alberto Mardegan on 2016-08-10
-
Tests: make sure the mock server is running before talking to it.

PASSED: Continuous integration, rev:248 /jenkins. canonical. com/unity- api-1/job/ lp-ubuntuone- credentials- ci/14/ /jenkins. canonical. com/unity- api-1/job/ build/338 /jenkins. canonical. com/unity- api-1/job/ build-0- fetch/344 /jenkins. canonical. com/unity- api-1/job/ build-1- sourcepkg/ release= vivid+overlay/ 268 /jenkins. canonical. com/unity- api-1/job/ build-1- sourcepkg/ release= xenial+ overlay/ 268 /jenkins. canonical. com/unity- api-1/job/ build-1- sourcepkg/ release= yakkety/ 268 /jenkins. canonical. com/unity- api-1/job/ build-2- binpkg/ arch=amd64, release= vivid+overlay/ 198 /jenkins. canonical. com/unity- api-1/job/ build-2- binpkg/ arch=amd64, release= vivid+overlay/ 198/artifact/ output/ *zip*/output. zip /jenkins. canonical. com/unity- api-1/job/ build-2- binpkg/ arch=amd64, release= xenial+ overlay/ 198 /jenkins. canonical. com/unity- api-1/job/ build-2- binpkg/ arch=amd64, release= xenial+ overlay/ 198/artifact/ output/ *zip*/output. zip /jenkins. canonical. com/unity- api-1/job/ build-2- binpkg/ arch=amd64, release= yakkety/ 198 /jenkins. canonical. com/unity- api-1/job/ build-2- binpkg/ arch=amd64, release= yakkety/ 198/artifact/ output/ *zip*/output. zip /jenkins. canonical. com/unity- api-1/job/ build-2- binpkg/ arch=armhf, release= vivid+overlay/ 198 /jenkins. canonical. com/unity- api-1/job/ build-2- binpkg/ arch=armhf, release= vivid+overlay/ 198/artifact/ output/ *zip*/output. zip /jenkins. canonical. com/unity- api-1/job/ build-2- binpkg/ arch=armhf, release= xenial+ overlay/ 198 /jenkins. canonical. com/unity- api-1/job/ build-2- binpkg/ arch=armhf, release= xenial+ overlay/ 198/artifact/ output/ *zip*/output. zip /jenkins. canonical. com/unity- api-1/job/ build-2- binpkg/ arch=armhf, release= yakkety/ 198 /jenkins. canonical. com/unity- api-1/job/ build-2- binpkg/ arch=armhf, release= yakkety/ 198/artifact/ output/ *zip*/output. zip /jenkins. canonical. com/unity- api-1/job/ build-2- binpkg/ arch=i386, release= vivid+overlay/ 198 /jenkins. canonical. com/unity- api-1/job/ build-2- binpkg/ arch=i386, release= vivid+overlay/ 198/artifact/ output/ *zip*/output. zip /jenkins. canonical. com/unity- api-1/job/ build-2- binpkg/ arch=i386, release= xenial+ overlay/ 198 /jenkins. canonical. com/unity- api-1/job/ build-2- binpkg/ arch=i386, release= xenial+ overlay/ 198/artifact/ output/ *zip*/output. zip /jenkins. canonical. com/unity- api-1/job/ build-2- binpkg/ arch=i386, release= yakkety/ 198 /jenkins. canonical. com/unity- api-1/job/ build-2- binpkg/ arch=i386, release= yakkety/ 198/artifact/ output/ *zip*/output. zip
https:/
Executed test runs:
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
Click here to trigger a rebuild: /jenkins. canonical. com/unity- api-1/job/ lp-ubuntuone- credentials- ci/14/rebuild
https:/