diff --git a/test/grpc/Collection.spec.ts b/test/grpc/Collection.spec.ts index 63ec2b31..8f79d6bb 100644 --- a/test/grpc/Collection.spec.ts +++ b/test/grpc/Collection.spec.ts @@ -537,7 +537,7 @@ describe(`Collection API`, () => { await milvusClient.releaseCollection({ collection_name: LOAD_COLLECTION_NAME, }); - const res = await milvusClient.loadCollection({ + const res = await milvusClient.loadCollectionAsync({ collection_name: LOAD_COLLECTION_NAME, }); expect(res.error_code).toEqual(ErrorCode.SUCCESS);