From dc7dd9b17ac27110c21ee6868fdff7e028eaf49c Mon Sep 17 00:00:00 2001 From: yanliang567 <82361606+yanliang567@users.noreply.github.com> Date: Wed, 3 Nov 2021 10:45:01 +0800 Subject: [PATCH] [skip ci]Add comments in milvus operator class (#11114) Signed-off-by: yanliang567 --- tests/python_client/customize/milvus_operator.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tests/python_client/customize/milvus_operator.py b/tests/python_client/customize/milvus_operator.py index 5ac426bbd4..beae229f94 100644 --- a/tests/python_client/customize/milvus_operator.py +++ b/tests/python_client/customize/milvus_operator.py @@ -108,7 +108,13 @@ class MilvusOperator(object): cus_res.patch(release_name, d_configs) def wait_for_healthy(self, release_name, namespace='default', timeout=600): - + """ + Method: wait a milvus instance until healthy or timeout + Params: + release_name: release name of milvus + namespace: namespace that the milvus is running in + timeout: default: 600 seconds + """ cus_res = CusResource(kind=self.plural, group=self.group, version=self.version, namespace=namespace) starttime = time.time()