Skip to content

Commit de290bb

Browse files
committed
fix minio setup
1 parent 4582126 commit de290bb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docker/test/stress/setup_minio.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,10 @@ setup_minio() {
8282
local test_type=$1
8383
./mc alias set clickminio http://localhost:11111 clickhouse clickhouse
8484
./mc admin user add clickminio test testtest
85-
./mc admin policy set clickminio readwrite user=test
86-
./mc mb clickminio/test
85+
./mc admin policy attach clickminio readwrite --user=test
86+
./mc mb --ignore-existing clickminio/test
8787
if [ "$test_type" = "stateless" ]; then
88-
./mc policy set public clickminio/test
88+
./mc anonymous set public clickminio/test
8989
fi
9090
}
9191

0 commit comments

Comments
 (0)