From 1cd21e2f508f030276758d4fc882e8788224a043 Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Fri, 15 Mar 2019 07:19:41 +0100 Subject: [PATCH] Only use ports in the range 9001-9060. (cherry picked from commit 77f7e5a986c0cf97ca82573f697369d1cff2d4d4) --- .../docker_container/tasks/tests/options.yml | 28 +++++++++---------- .../docker_container/tasks/tests/ports.yml | 28 +++++++++---------- 2 files changed, 28 insertions(+), 28 deletions(-) diff --git a/test/integration/targets/docker_container/tasks/tests/options.yml b/test/integration/targets/docker_container/tasks/tests/options.yml index ebae534ef39..ee206c45f3c 100644 --- a/test/integration/targets/docker_container/tasks/tests/options.yml +++ b/test/integration/targets/docker_container/tasks/tests/options.yml @@ -1109,8 +1109,8 @@ name: "{{ cname }}" state: started exposed_ports: - - "1234" - - "5678" + - "9001" + - "9002" register: exposed_ports_1 - name: exposed_ports (idempotency) @@ -1120,8 +1120,8 @@ name: "{{ cname }}" state: started exposed_ports: - - "5678" - - "1234" + - "9002" + - "9001" register: exposed_ports_2 - name: exposed_ports (less ports) @@ -1131,7 +1131,7 @@ name: "{{ cname }}" state: started exposed_ports: - - "1234" + - "9002" register: exposed_ports_3 - name: exposed_ports (more ports) @@ -1141,8 +1141,8 @@ name: "{{ cname }}" state: started exposed_ports: - - "1234" - - "1235" + - "9002" + - "9003" stop_timeout: 1 register: exposed_ports_4 @@ -2476,8 +2476,8 @@ name: "{{ cname }}" state: started published_ports: - - 1234 - - 5678 + - 9001 + - 9002 register: published_ports_1 - name: published_ports (idempotency) @@ -2487,8 +2487,8 @@ name: "{{ cname }}" state: started published_ports: - - 5678 - - 1234 + - 9002 + - 9001 register: published_ports_2 - name: published_ports (less published_ports) @@ -2498,7 +2498,7 @@ name: "{{ cname }}" state: started published_ports: - - 1234 + - 9002 register: published_ports_3 - name: published_ports (more published_ports) @@ -2508,8 +2508,8 @@ name: "{{ cname }}" state: started published_ports: - - 1234 - - 2345 + - 9002 + - 9003 stop_timeout: 1 register: published_ports_4 diff --git a/test/integration/targets/docker_container/tasks/tests/ports.yml b/test/integration/targets/docker_container/tasks/tests/ports.yml index ab637daba71..e2480470059 100644 --- a/test/integration/targets/docker_container/tasks/tests/ports.yml +++ b/test/integration/targets/docker_container/tasks/tests/ports.yml @@ -14,8 +14,8 @@ name: "{{ cname }}" state: started exposed_ports: - - "8080" - - "8081" + - "9001" + - "9002" published_ports: - all stop_timeout: 1 @@ -28,8 +28,8 @@ name: "{{ cname }}" state: started exposed_ports: - - "8080" - - "8081" + - "9001" + - "9002" published_ports: - all stop_timeout: 1 @@ -42,11 +42,11 @@ name: "{{ cname }}" state: started exposed_ports: - - "8080" - - "8081" + - "9001" + - "9002" published_ports: - - "8080" - - "8081" + - "9001" + - "9002" stop_timeout: 1 register: published_ports_3 @@ -57,11 +57,11 @@ name: "{{ cname }}" state: started exposed_ports: - - "8080" - - "8081" + - "9001" + - "9002" published_ports: - - "8080" - - "8081" + - "9002" + - "9001" stop_timeout: 1 register: published_ports_4 @@ -72,8 +72,8 @@ name: "{{ cname }}" state: started exposed_ports: - - "8080" - - "8081" + - "9001" + - "9002" published_ports: - all stop_timeout: 1