From a55d0ca8a47414a31220216426263bda7b5ae90a Mon Sep 17 00:00:00 2001 From: Nikolay Edigaryev Date: Tue, 16 Feb 2021 04:06:41 +0300 Subject: [PATCH] Work around containers/podman#9393 --- .../testdata/run-no-cleanup/.cirrus.yml | 6 +++--- .../additional-containers/.cirrus.yml | 20 +++++++++---------- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/internal/commands/testdata/run-no-cleanup/.cirrus.yml b/internal/commands/testdata/run-no-cleanup/.cirrus.yml index 695eff72..9e749151 100644 --- a/internal/commands/testdata/run-no-cleanup/.cirrus.yml +++ b/internal/commands/testdata/run-no-cleanup/.cirrus.yml @@ -3,8 +3,8 @@ task: image: debian:latest additional_containers: - - name: mysql - image: mysql:latest - port: 3306 + - name: redis + image: redis:latest + port: 6379 script: true diff --git a/internal/executor/testdata/additional-containers/.cirrus.yml b/internal/executor/testdata/additional-containers/.cirrus.yml index 911bdc19..dbdca207 100644 --- a/internal/executor/testdata/additional-containers/.cirrus.yml +++ b/internal/executor/testdata/additional-containers/.cirrus.yml @@ -4,19 +4,19 @@ container: task: container: additional_containers: - - name: mysql - image: mysql:latest - port: 3306 + - name: redis + image: redis:latest + port: 6379 env: MYSQL_ROOT_PASSWORD: insecure - - name: postgres - image: postgres:latest - port: 5432 + - name: memcached + image: memcached:latest + port: 11211 env: POSTGRES_PASSWORD: insecure prepare_script: - apt-get update && apt-get -y install netcat-openbsd wait-for-it - mysql_test_script: - - wait-for-it --timeout=0 --strict 127.0.0.1:3306 -- true - postgres_test_script: - - wait-for-it --timeout=0 --strict 127.0.0.1:5432 -- true + redis_test_script: + - wait-for-it --timeout=0 --strict 127.0.0.1:6379 -- true + memcached_test_script: + - wait-for-it --timeout=0 --strict 127.0.0.1:11211 -- true