@ -101,7 +101,7 @@
- assert:
that:
- blkio_weight_1 is changed
- blkio_weight_2 is not changed
- "blkio_weight_2 is not changed or 'Docker warning: Your kernel does not support Block I/O weight or the cgroup is not mounted. Weight discarded.' in blkio_weight_2.warnings"
- blkio_weight_3 is changed
####################################################################
@ -356,7 +356,7 @@
image : alpine:3.8
command : '/bin/sh -c "sleep 10m"'
name : "{{ cname }}"
cpuset_cpus : 0
cpuset_cpus : "0"
state : started
register : cpuset_cpus_1
@ -365,7 +365,7 @@
image : alpine:3.8
command : '/bin/sh -c "sleep 10m"'
name : "{{ cname }}"
cpuset_cpus : 0
cpuset_cpus : "0"
state : started
register : cpuset_cpus_2
@ -374,7 +374,7 @@
image : alpine:3.8
command : '/bin/sh -c "sleep 10m"'
name : "{{ cname }}"
cpuset_cpus : 1
cpuset_cpus : "1"
state : started
force_kill : yes
# This will fail if the system the test is run on doesn't have
@ -404,7 +404,7 @@
image : alpine:3.8
command : '/bin/sh -c "sleep 10m"'
name : "{{ cname }}"
cpuset_mems : 0
cpuset_mems : "0"
state : started
register : cpuset_mems_1
@ -413,7 +413,7 @@
image : alpine:3.8
command : '/bin/sh -c "sleep 10m"'
name : "{{ cname }}"
cpuset_mems : 0
cpuset_mems : "0"
state : started
register : cpuset_mems_2
@ -422,7 +422,7 @@
image : alpine:3.8
command : '/bin/sh -c "sleep 10m"'
name : "{{ cname }}"
cpuset_mems : 1
cpuset_mems : "1"
state : started
force_kill : yes
# This will fail if the system the test is run on doesn't have
@ -1115,7 +1115,7 @@
state : started
register : entrypoint_2
- name : entrypoint (change order idempotency )
- name : entrypoint (change order , should not be idempotent )
docker_container:
image : alpine:3.8
entrypoint:
@ -1125,6 +1125,7 @@
- "-v"
name : "{{ cname }}"
state : started
force_kill : yes
register : entrypoint_3
- name : entrypoint (less parameters)
@ -1355,8 +1356,8 @@
name : "{{ cname }}"
state : started
exposed_ports:
- 1234
- 5678
- "1234"
- "5678"
register : exposed_ports_1
- name : exposed_ports (idempotency)
@ -1366,8 +1367,8 @@
name : "{{ cname }}"
state : started
exposed_ports:
- 5678
- 1234
- "5678"
- "1234"
register : exposed_ports_2
- name : exposed_ports (less ports)
@ -1377,7 +1378,7 @@
name : "{{ cname }}"
state : started
exposed_ports:
- 1234
- "1234"
register : exposed_ports_3
- name : exposed_ports (more ports)
@ -1387,8 +1388,8 @@
name : "{{ cname }}"
state : started
exposed_ports:
- 1234
- 1235
- "1234"
- "1235"
force_kill : yes
register : exposed_ports_4
@ -1423,8 +1424,8 @@
name : "{{ cname }}"
state : started
groups:
- 1234
- 5678
- "1234"
- "5678"
register : groups_1
- name : groups (idempotency)
@ -1434,8 +1435,8 @@
name : "{{ cname }}"
state : started
groups:
- 5678
- 1234
- "5678"
- "1234"
register : groups_2
- name : groups (less groups)
@ -1445,7 +1446,7 @@
name : "{{ cname }}"
state : started
groups:
- 1234
- "1234"
register : groups_3
- name : groups (more groups)
@ -1455,8 +1456,8 @@
name : "{{ cname }}"
state : started
groups:
- 1234
- 2345
- "1234"
- "2345"
force_kill : yes
register : groups_4
@ -3413,7 +3414,7 @@
image : alpine:3.8
command : '/bin/sh -c "sleep 10m"'
name : "{{ cname }}"
stop_signal : 30
stop_signal : "30"
state : started
register : stop_signal_1
@ -3422,7 +3423,7 @@
image : alpine:3.8
command : '/bin/sh -c "sleep 10m"'
name : "{{ cname }}"
stop_signal : 30
stop_signal : "30"
state : started
register : stop_signal_2
@ -3431,7 +3432,7 @@
image : alpine:3.8
command : '/bin/sh -c "sleep 10m"'
name : "{{ cname }}"
stop_signal : 9
stop_signal : "9"
state : started
force_kill : yes
register : stop_signal_3