Merge lp://staging/~mardy/ubuntuone-credentials/fix-token-tests into lp://staging/ubuntuone-credentials
Status: | Rejected |
---|---|
Rejected by: | Natalia Bidart |
Proposed branch: | lp://staging/~mardy/ubuntuone-credentials/fix-token-tests |
Merge into: | lp://staging/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://staging/~mardy/ubuntuone-credentials/fix-token-tests |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
unity-api-1-bot | continuous-integration | Approve | |
Unity API Team | Pending | ||
Review via email: mp+302551@code.staging.launchpad.net |
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.
Unmerged revisions
- 248. By Alberto Mardegan
-
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:/