diff --git a/package.json b/package.json index 1c4b882b..da70f76f 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "@zilliz/milvus2-sdk-node", "author": "ued@zilliz.com", "version": "2.3.2", - "milvusVersion": "v2.3.0", + "milvusVersion": "master-20231009-df6e0b7a-amd64", "main": "dist/milvus", "files": [ "dist" diff --git a/test/DynamicSchema.spec.ts b/test/DynamicSchema.spec.ts index da5f73b6..8118e07c 100644 --- a/test/DynamicSchema.spec.ts +++ b/test/DynamicSchema.spec.ts @@ -12,7 +12,7 @@ import { dynamicFields, } from './tools'; -const milvusClient = new MilvusClient({ address: IP, logLevel: 'dev' }); +const milvusClient = new MilvusClient({ address: IP }); const COLLECTION = GENERATE_NAME(); const dbParam = { db_name: 'DynamicSchema', diff --git a/test/Insert.spec.ts b/test/Insert.spec.ts index bdcafd80..5afaabaf 100644 --- a/test/Insert.spec.ts +++ b/test/Insert.spec.ts @@ -14,7 +14,7 @@ import { genFloatVector, } from './tools'; -const milvusClient = new MilvusClient({ address: IP, logLevel: 'debug' }); +const milvusClient = new MilvusClient({ address: IP }); const COLLECTION_NAME = GENERATE_NAME(); const BINARY_COLLECTION_NAME = GENERATE_NAME(); const COLLECTION_NAME_AUTO_ID = GENERATE_NAME(); @@ -177,7 +177,7 @@ describe(`Insert API`, () => { }; const res = await milvusClient.insert(params); - console.log('xx', res) + console.log('xx', res); expect(res.status.error_code).toEqual(ErrorCode.SUCCESS); }); diff --git a/test/tools/index.ts b/test/tools/index.ts index 8801d297..b9368bc5 100644 --- a/test/tools/index.ts +++ b/test/tools/index.ts @@ -4,4 +4,4 @@ export * from './const'; export * from './utils'; // test IP -export const IP = '10.102.6.196:19530'; +export const IP = '127.0.0.1:19530';