Skip to content

Commit db81e25

Browse files
committed
Fix tests
1 parent e056f9b commit db81e25

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@ language: python
33
python: "2.7"
44
before_install:
55
- sudo apt-get update -qq
6+
- sudo apt-get purge rabbitmq-server
67
install:
78
# Install Ansible.
8-
- pip install ansible
9+
- pip install ansible==2.3.2.0
910

1011
# Create an inventory file for testing.
1112
- "printf 'rabbit-standalone ansible_ssh_host=localhost' > inventory"

tasks/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@
1010

1111
- include: users.yml
1212

13-
- include: policy.yml
14-
when: "rabbitmq_policy_configuration is defined"
15-
1613
- include: federation.yml
1714
when: rabbitmq_federation
1815

16+
- include: policy.yml
17+
when: "rabbitmq_policy_configuration is defined"
18+
1919
- block:
2020
- include: cluster/checks.yml
2121
- include: cluster/hostnames.yml

vagrant/test_standalone.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
- shell: netstat -an | grep 0.0.0.0:5672.*LISTEN
33
register: test_result
44
ignore_errors: True
5-
- name: rabbitmq should not be listenning to the unencrypted port
5+
- name: rabbitmq should be listenning to the unencrypted port
66
assert:
77
that:
8-
- test_result|failed
8+
- test_result|success
99

1010
- shell: netstat -an | grep 0.0.0.0:5671.*LISTEN
1111
register: test_result

0 commit comments

Comments
 (0)