Merge lp:~cprov/uci-engine/integration-tests-tweaks into lp:uci-engine

Proposed by Celso Providelo
Status: Merged
Approved by: Celso Providelo
Approved revision: 553
Merged at revision: 557
Proposed branch: lp:~cprov/uci-engine/integration-tests-tweaks
Merge into: lp:uci-engine
Diff against target: 32 lines (+6/-3)
1 file modified
tests/test_integration.py (+6/-3)
To merge this branch: bzr merge lp:~cprov/uci-engine/integration-tests-tweaks
Reviewer Review Type Date Requested Status
PS Jenkins bot (community) continuous-integration Approve
Chris Johnston (community) Approve
Review via email: mp+222633@code.launchpad.net

Commit message

CLI end2end integration test fix.

Description of the change

CLI end2end integration test fix.

Including independent webui deployment configuration and relations.

To post a comment you must log in.
Revision history for this message
Chris Johnston (cjohnston) :
review: Approve
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

PASSED: Continuous integration, rev:553
http://s-jenkins.ubuntu-ci:8080/job/uci-engine-ci/815/
Executed test runs:

Click here to trigger a rebuild:
http://s-jenkins.ubuntu-ci:8080/job/uci-engine-ci/815/rebuild

review: Approve (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'tests/test_integration.py'
2--- tests/test_integration.py 2014-06-06 14:55:22 +0000
3+++ tests/test_integration.py 2014-06-10 12:25:30 +0000
4@@ -61,7 +61,7 @@
5 class IntegrationTest(deployers.DeployerTest):
6 """Integration tests for ticket-system service run on a juju deployment"""
7
8- deployer_cfgs = ['ticket-system.yaml', 'gatekeeper.yaml']
9+ deployer_cfgs = ['gatekeeper.yaml', 'ticket-system.yaml', 'webui.yaml']
10
11 def setUp(self):
12 super(IntegrationTest, self).setUp()
13@@ -88,14 +88,17 @@
14 self.addCleanup(delete_virtual_env, self.temp_dir)
15
16 def add_extra_relations(self, script):
17- """Hook gatekeeper to the webui."""
18+ """Hook gatekeeper and the ticket system to the webui."""
19 relations = script['ci-airline']['relations']
20 relations.append(
21 ['ci-airline-gatekeeper-restish:json_status',
22- 'ci-airline-webui-app:json_status'])
23+ 'ci-airline-webui-health:json_status'])
24 relations.append(
25 ['ci-airline-gatekeeper-restish:website',
26 'ci-airline-webui-apache:reverseproxy'])
27+ relations.append(
28+ ['ci-airline-ts-django:website',
29+ 'ci-airline-webui-apache:reverseproxy'])
30
31 def get_server_status_and_content(self, url,
32 service='ci-airline-webui-apache'):

Subscribers

People subscribed via source and target branches