From 66bea3942ad0e7be70e1724078c3bbe765af399b Mon Sep 17 00:00:00 2001 From: Anis Eleuch Date: Fri, 7 Jul 2023 08:10:13 +0100 Subject: [PATCH] CI/CD to stop one node per pool in the two pools mint test (#17518) This is to make sure that all S3 ops work when there is enough quorum --- .github/workflows/run-mint.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/run-mint.sh b/.github/workflows/run-mint.sh index 796a5aa54..e1ecaad8d 100755 --- a/.github/workflows/run-mint.sh +++ b/.github/workflows/run-mint.sh @@ -18,9 +18,12 @@ cd .github/workflows/mint docker-compose -f minio-${MODE}.yaml up -d sleep 5m -docker run --rm --net=host \ +# Stop two nodes, one of each pool, to check that all S3 calls work while quorum is still there +[ "${MODE}" == "pools" ] && docker-compose -f minio-${MODE}.yaml stop minio{2,6} + +docker run --rm --net=mint_default \ --name="mint-${MODE}-${JOB_NAME}" \ - -e SERVER_ENDPOINT="127.0.0.1:9000" \ + -e SERVER_ENDPOINT="nginx:9000" \ -e ACCESS_KEY="${ACCESS_KEY}" \ -e SECRET_KEY="${SECRET_KEY}" \ -e ENABLE_HTTPS=0 \