Merge lp://staging/~frankban/charms/trusty/juju-gui/new-test-and-server-deps into lp://staging/~juju-gui/charms/trusty/juju-gui/trunk

Proposed by Francesco Banconi
Status: Merged
Merged at revision: 199
Proposed branch: lp://staging/~frankban/charms/trusty/juju-gui/new-test-and-server-deps
Merge into: lp://staging/~juju-gui/charms/trusty/juju-gui/trunk
Diff against target: 277 lines (+58/-41)
5 files modified
server-requirements.pip (+5/-3)
test-requirements.pip (+1/-1)
tests/20-functional.test (+17/-13)
tests/helpers.py (+17/-7)
tests/test_helpers.py (+18/-17)
To merge this branch: bzr merge lp://staging/~frankban/charms/trusty/juju-gui/new-test-and-server-deps
Reviewer Review Type Date Requested Status
Juju GUI Hackers Pending
Review via email: mp+234469@code.staging.launchpad.net

Description of the change

Update dependencies + other fixes.

Update the GUI server dependencies:
websocket-client, jujuclient, juju=deployer.
Also included in the dependencies repo
the new websocket-client requirements.

Update selenium to the latest version
(2.43.0) so that the functional tests
pass on Firefox 32. The download cache
has been updated accordingly.

Fix how the suite detects if it is running
on a local environment: do not use the
environment name (unreliable), but retrieve
the environment type instead.

Fix the WebSocket client used when running
functional tests to reflect changes in the
new websocket-client.

QA:
run the test suite on precise and trusty:
assuming your ec2 trusty environment is
called ec2-trusty and your ec2 precise one
is called ec2-precise, run the following:

    make test JUJU_ENV=ec2-trusty
    make test JUJU_ENV=ec2-precise

As you already know, the functional tests
take a while.

https://codereview.appspot.com/136570043/

To post a comment you must log in.
Revision history for this message
Francesco Banconi (frankban) wrote :
Download full text (12.7 KiB)

Reviewers: mp+234469_code.launchpad.net,

Message:
Please take a look.

Description:
Update dependencies + other fixes.

Update the GUI server dependencies:
websocket-client, jujuclient, juju=deployer.
Also included in the dependencies repo
the new websocket-client requirements.

Update selenium to the latest version
(2.43.0) so that the functional tests
pass on Firefox 32. The download cache
has been updated accordingly.

Fix how the suite detects if it is running
on a local environment: do not use the
environment name (unreliable), but retrieve
the environment type instead.

Fix the WebSocket client used when running
functional tests to reflect changes in the
new websocket-client.

QA:
run the test suite on precise and trusty:
assuming your ec2 trusty environment is
called ec2-trusty and your ec2 precise one
is called ec2-precise, run the following:

     make test JUJU_ENV=ec2-trusty
     make test JUJU_ENV=ec2-precise

As you already know, the functional tests
take a while.

https://code.launchpad.net/~frankban/charms/trusty/juju-gui/new-test-and-server-deps/+merge/234469

(do not edit description out of merge proposal)

Please review this at https://codereview.appspot.com/136570043/

Affected files (+52, -33 lines):
   A [revision details]
   A deps/backports.ssl_match_hostname-3.4.0.2.tar.gz
   D deps/juju-deployer-0.3.9.tar.gz
   A deps/juju-deployer-0.4.0.tar.gz
   D deps/jujuclient-0.17.5.tar.gz
   A deps/jujuclient-0.18.4.tar.gz
   A deps/six-1.8.0.tar.gz
   D deps/websocket-client-0.12.0.tar.gz
   A deps/websocket-client-0.18.0.tar.gz
   M server-requirements.pip
   M test-requirements.pip
   M tests/20-functional.test
   M tests/helpers.py
   M tests/test_helpers.py

Index: [revision details]
=== added file '[revision details]'
--- [revision details] 2012-01-01 00:00:00 +0000
+++ [revision details] 2012-01-01 00:00:00 +0000
@@ -0,0 +1,2 @@
+Old revision:
<email address hidden>
+New revision:
<email address hidden>

Index: deps/backports.ssl_match_hostname-3.4.0.2.tar.gz
=== added file 'deps/backports.ssl_match_hostname-3.4.0.2.tar.gz'
Binary files deps/backports.ssl_match_hostname-3.4.0.2.tar.gz 1970-01-01
00:00:00 +0000 and deps/backports.ssl_match_hostname-3.4.0.2.tar.gz
2014-09-12 11:00:01 +0000 differ

Index: deps/juju-deployer-0.3.9.tar.gz
=== removed file 'deps/juju-deployer-0.3.9.tar.gz'
Binary files deps/juju-deployer-0.3.9.tar.gz 2014-08-28 20:23:34 +0000 and
deps/juju-deployer-0.3.9.tar.gz 1970-01-01 00:00:00 +0000 differ

Index: deps/juju-deployer-0.4.0.tar.gz
=== added file 'deps/juju-deployer-0.4.0.tar.gz'
Binary files deps/juju-deployer-0.4.0.tar.gz 1970-01-01 00:00:00 +0000 and
deps/juju-deployer-0.4.0.tar.gz 2014-09-12 11:00:01 +0000 differ

Index: deps/jujuclient-0.17.5.tar.gz
=== removed file 'deps/jujuclient-0.17.5.tar.gz'
Binary files deps/jujuclient-0.17.5.tar.gz 2014-03-17 11:16:15 +0000 and
deps/jujuclient-0.17.5.tar.gz 1970-01-01 00:00:00 +0000 differ

Index: deps/jujuclient-0.18.4.tar.gz
=== added file 'deps/jujuclient-0.18.4.tar.gz'
Binary files deps/jujuclient-0.18.4.tar.gz 1970-01-01 00:00:00 +0000 and
de...

Revision history for this message
Richard Harding (rharding) wrote :

code looks good, starting up a QA/test run on trusty if the other
reviewer could do precise that'd be great.

https://codereview.appspot.com/136570043/

Revision history for this message
Richard Harding (rharding) wrote :

Ran 12 tests in 1809.282s

QA good on trusty LGTM

https://codereview.appspot.com/136570043/

Revision history for this message
Madison Scott-Clary (makyo) wrote :
Revision history for this message
Francesco Banconi (frankban) wrote :

*** Submitted:

Update dependencies + other fixes.

Update the GUI server dependencies:
websocket-client, jujuclient, juju=deployer.
Also included in the dependencies repo
the new websocket-client requirements.

Update selenium to the latest version
(2.43.0) so that the functional tests
pass on Firefox 32. The download cache
has been updated accordingly.

Fix how the suite detects if it is running
on a local environment: do not use the
environment name (unreliable), but retrieve
the environment type instead.

Fix the WebSocket client used when running
functional tests to reflect changes in the
new websocket-client.

QA:
run the test suite on precise and trusty:
assuming your ec2 trusty environment is
called ec2-trusty and your ec2 precise one
is called ec2-precise, run the following:

     make test JUJU_ENV=ec2-trusty
     make test JUJU_ENV=ec2-precise

As you already know, the functional tests
take a while.

R=rharding, matthew.scott
CC=
https://codereview.appspot.com/136570043

https://codereview.appspot.com/136570043/

Revision history for this message
Francesco Banconi (frankban) wrote :

Thank you both for the reviews!

https://codereview.appspot.com/136570043/

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches