diff --git a/test/grpc/Alias.spec.ts b/test/grpc/Alias.spec.ts index d2f66e33..ca80fbb3 100644 --- a/test/grpc/Alias.spec.ts +++ b/test/grpc/Alias.spec.ts @@ -40,6 +40,11 @@ describe(`Alias API`, () => { alias: COLLECTION_ALIAS, }); expect(res.error_code).toEqual(ErrorCode.SUCCESS); + const alias = await milvusClient.hasCollection({ + collection_name: COLLECTION_ALIAS, + }); + expect(alias.status.error_code).toEqual(ErrorCode.SUCCESS); + expect(alias.value).toEqual(true); }); it(`Alter alias should success`, async () => {