@@ -78,7 +78,7 @@ inline implementation parse_implementation(const char *so_path) {
7878 std::exit (1 );
7979 }
8080
81- return implementation{so_path, init_client (" minio_access" , " minio_secret" , " 127.0.0.1:9000 " ),
81+ return implementation{so_path, init_client (" minio_access" , " minio_secret" , " 127.0.0.1:9002 " ),
8282 init_client, create_bucket,
8383 put_object, get_object, free_client};
8484}
@@ -130,7 +130,7 @@ inline void clean_up() {
130130
131131 // TODO(cristian): use another port/ip for benchmark to not collide with core s3cpp tests...
132132 s3cpp::S3Client client =
133- s3cpp::S3Client (" minio_access" , " minio_secret" , " 127.0.0.1:9000 " , s3cpp::S3AddressingStyle::PathStyle);
133+ s3cpp::S3Client (" minio_access" , " minio_secret" , " 127.0.0.1:9002 " , s3cpp::S3AddressingStyle::PathStyle);
134134
135135 auto result = client.ListBuckets ();
136136 if (!result.has_value ()) {
@@ -154,11 +154,11 @@ inline void check_endpoint(const std::string &endpoint) {
154154 if (!s3cpp::Ping (endpoint)) {
155155 std::println (stderr, " MinIO is not running. Start it with:\n "
156156 " docker build -t s3cpp-minio:latest ..\n "
157- " docker run -d -p 9000:9000 -p 9001:9001 \\\n "
157+ " docker run -d -p 9002:9002 -p 9003:9003 \\\n "
158158 " -e \" MINIO_ROOT_USER=minio_access\" \\\n "
159159 " -e \" MINIO_ROOT_PASSWORD=minio_secret\" \\\n "
160160 " s3cpp-minio:latest \\\n "
161- " server /data --console-address \" :9001 \" " );
161+ " server /data --address \" :9002 \" -- console-address \" :9003 \" " );
162162 std::exit (1 );
163163 }
164164}
0 commit comments