Merge lp:~kwmonroe/charms/trusty/rsyslog-forwarder-ha/testfix into lp:charms/trusty/rsyslog-forwarder-ha

Proposed by Kevin W Monroe
Status: Merged
Merged at revision: 16
Proposed branch: lp:~kwmonroe/charms/trusty/rsyslog-forwarder-ha/testfix
Merge into: lp:charms/trusty/rsyslog-forwarder-ha
Diff against target: 49 lines (+6/-16)
3 files modified
tests/00_setup.sh (+0/-14)
tests/10_deploy_test.py (+3/-2)
tests/tests.yaml (+3/-0)
To merge this branch: bzr merge lp:~kwmonroe/charms/trusty/rsyslog-forwarder-ha/testfix
Reviewer Review Type Date Requested Status
Review Queue (community) automated testing Approve
Review Queue (community) automated testing Approve
Cory Johns (community) Approve
Review via email: mp+297013@code.launchpad.net

Description of the change

Fix test, update series to trusty.

To post a comment you must log in.
Revision history for this message
Cory Johns (johnsca) wrote :

+1 merged

review: Approve
Revision history for this message
Review Queue (review-queue) wrote :

The results (PASS) are in and available here: http://juju-ci.vapour.ws:8080/job/charm-bundle-test-lxc/4637/

review: Approve (automated testing)
Revision history for this message
Review Queue (review-queue) wrote :

The results (PASS) are in and available here: http://juju-ci.vapour.ws:8080/job/charm-bundle-test-aws/4657/

review: Approve (automated testing)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== removed file 'tests/00_setup.sh'
2--- tests/00_setup.sh 2015-10-02 19:00:41 +0000
3+++ tests/00_setup.sh 1970-01-01 00:00:00 +0000
4@@ -1,14 +0,0 @@
5-#!/bin/sh
6-
7-# The script installs amulet and other tools needed for the amulet tests.
8-
9-set -x
10-
11-# Get the status of the amulet package, this returns 0 of package is installed.
12-dpkg -s amulet
13-if [ $? -ne 0 ]; then
14- # Install the Amulet testing harness.
15- sudo add-apt-repository -y ppa:juju/stable
16- sudo apt-get update
17- sudo apt-get install -y amulet
18-fi
19
20=== modified file 'tests/10_deploy_test.py'
21--- tests/10_deploy_test.py 2015-10-02 19:00:41 +0000
22+++ tests/10_deploy_test.py 2016-06-09 23:44:06 +0000
23@@ -15,7 +15,7 @@
24
25 def test_deployment_single(self):
26 """Test a rsyslog-forwarder-ha deployment"""
27- self.deployment = amulet.Deployment(series="precise",
28+ self.deployment = amulet.Deployment(series="trusty",
29 sentries=False)
30
31 self.deployment.add("rsyslog-master", charm="rsyslog")
32@@ -29,7 +29,8 @@
33 self.deployment.relate("rsyslog-forwarder-ha:syslog",
34 "rsyslog-slave:aggregator")
35
36- self.deployment._relate("postgresql", "rsyslog-forwarder-ha")
37+ self.deployment.relate("postgresql:juju-info",
38+ "rsyslog-forwarder-ha:juju-info")
39
40 self.deployment.expose("rsyslog-master")
41 self.deployment.expose("rsyslog-slave")
42
43=== added file 'tests/tests.yaml'
44--- tests/tests.yaml 1970-01-01 00:00:00 +0000
45+++ tests/tests.yaml 2016-06-09 23:44:06 +0000
46@@ -0,0 +1,3 @@
47+reset: false
48+packages:
49+ - amulet

Subscribers

People subscribed via source and target branches