Change retry times and sleep duration

Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
pull/4973/head^2
zhenshan.cao 2021-03-06 11:52:43 +08:00 committed by yefu.chen
parent 529079b342
commit ce5d7c7ecc
2 changed files with 2 additions and 1 deletions

View File

@ -64,7 +64,7 @@ func NewIndexNode(ctx context.Context) (*IndexNode, error) {
func (i *IndexNode) Init() error {
ctx := context.Background()
err := funcutil.WaitForComponentHealthy(ctx, i.serviceClient, "IndexService", 10, time.Second)
err := funcutil.WaitForComponentHealthy(ctx, i.serviceClient, "IndexService", 100, time.Millisecond*200)
if err != nil {
return err

View File

@ -60,6 +60,7 @@ class TestListCollections:
assert collection_name not in connect.list_collections()
# TODO: make sure to run this case in the end
@pytest.mark.skip("r0.3-test")
@pytest.mark.level(2)
@pytest.mark.tags("0331")
def test_list_collections_no_collection(self, connect):