Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
Signed-off-by: ruiyi.jiang <[email protected]>
  • Loading branch information
shanghaikid committed Oct 9, 2023
1 parent 58bc6fd commit 435df3f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@zilliz/milvus2-sdk-node",
"author": "[email protected]",
"version": "2.3.2",
"milvusVersion": "v2.3.0",
"milvusVersion": "master-20231009-df6e0b7a-amd64",
"main": "dist/milvus",
"files": [
"dist"
Expand Down
2 changes: 1 addition & 1 deletion test/DynamicSchema.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
4 changes: 2 additions & 2 deletions test/Insert.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -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);
});

Expand Down
2 changes: 1 addition & 1 deletion test/tools/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';

0 comments on commit 435df3f

Please sign in to comment.