From 1263c80b89d811ac75f3a2fa70900449d9e66ab3 Mon Sep 17 00:00:00 2001 From: Janos SUTO Date: Wed, 14 Jun 2023 08:26:11 +0200 Subject: [PATCH] Fixed setup.inc Signed-off-by: Janos SUTO --- tests/setup.inc | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/tests/setup.inc b/tests/setup.inc index 298cac89..60dca5a2 100644 --- a/tests/setup.inc +++ b/tests/setup.inc @@ -2,13 +2,11 @@ NODE_WORKERS=( "worker0" "worker1" ) SMTP_GW="smtpgw" DOCKER_LIMIT=( --pids-limit 256 --memory 512M ) -export CONTAINERS=( "$NODE_GUI" "${NODE_WORKERS[@]}" "$SMTP_GW" "$SINGLE_SERVER" "piler1" "syslog.host" ) +export CONTAINERS=( "$NODE_GUI" "${NODE_WORKERS[@]}" "$SMTP_GW" "$SINGLE_SERVER" ) setup() { destroy_containers - set -x launch_containers - set +x create_rules "piler1" add_data_officer "piler1" } @@ -25,9 +23,12 @@ launch_containers() { echo -e "PACKAGE=$PACKAGE\nPILER_HOST=cust1.acts.hu\nRT=$RT" > .env + log "running docker-compose down" + docker-compose down -v || true - log "running docker-compose" + log "running docker-compose up" + docker-compose up -d wait_until_container_is_healthy "piler1"