From e680c349b1698a580ab8406df09fb82f8f48e23d Mon Sep 17 00:00:00 2001 From: youtous Date: Mon, 27 Apr 2020 10:28:05 +0200 Subject: [PATCH] test wait setup for // containers --- test/mail_dhparams_default.bats | 3 +-- test/mail_dhparams_manual_not_one_dir.bats | 1 - test/mail_dhparams_manual_one_dir.bats | 1 - 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/test/mail_dhparams_default.bats b/test/mail_dhparams_default.bats index 97c081f0..5d571b9e 100644 --- a/test/mail_dhparams_default.bats +++ b/test/mail_dhparams_default.bats @@ -27,6 +27,7 @@ function setup_file() { -e DMS_DEBUG=0 \ -e ONE_DIR=1 \ -h mail.my-domain.com -t ${NAME} + wait_for_finished_setup_in_container mail_default_dhparams_one_dir docker run -d --name mail_default_dhparams_not_one_dir \ -v "`pwd`/test/config":/tmp/docker-mailserver \ @@ -34,8 +35,6 @@ function setup_file() { -e DMS_DEBUG=0 \ -e ONE_DIR=0 \ -h mail.my-domain.com -t ${NAME} - - wait_for_finished_setup_in_container mail_default_dhparams_one_dir wait_for_finished_setup_in_container mail_default_dhparams_not_one_dir } diff --git a/test/mail_dhparams_manual_not_one_dir.bats b/test/mail_dhparams_manual_not_one_dir.bats index eb713dfe..e2604c73 100644 --- a/test/mail_dhparams_manual_not_one_dir.bats +++ b/test/mail_dhparams_manual_not_one_dir.bats @@ -31,7 +31,6 @@ function setup_file() { -e DMS_DEBUG=0 \ -e ONE_DIR=0 \ -h mail.my-domain.com -t ${NAME} - wait_for_finished_setup_in_container mail_manual_dhparams_not_one_dir } diff --git a/test/mail_dhparams_manual_one_dir.bats b/test/mail_dhparams_manual_one_dir.bats index d9ce6d64..a144ffc3 100644 --- a/test/mail_dhparams_manual_one_dir.bats +++ b/test/mail_dhparams_manual_one_dir.bats @@ -28,7 +28,6 @@ function setup_file() { -e DMS_DEBUG=0 \ -e ONE_DIR=1 \ -h mail.my-domain.com -t ${NAME} - wait_for_finished_setup_in_container mail_manual_dhparams_one_dir }