mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-31 12:06:44 +00:00
there is chance that minio_server is not ready to serve after launching the server executable process. so we need to retry until the first "mc" command is able to talk to it. in this change, add method `mc()` is added to run minio client, so we can retry the command before it timeouts. and it allows us to ignore the failure or specify the timeout. this should ready the minio server before tests start to connect to it. Fixes #1719 Signed-off-by: Kefu Chai <kefu.chai@scylladb.com>