Skip to content

Commit

Permalink
upgrade dockers version
Browse files Browse the repository at this point in the history
  • Loading branch information
leibale committed Mar 10, 2022
1 parent 5c1525a commit 3304b5c
Show file tree
Hide file tree
Showing 6 changed files with 180 additions and 158 deletions.
2 changes: 1 addition & 1 deletion packages/graph/lib/test-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import RedisGraph from '.';
export default new TestUtils({
dockerImageName: 'redislabs/redisgraph',
dockerImageVersionArgument: 'redisgraph-version',
defaultDockerVersion: '2.8.7'
defaultDockerVersion: '2.8.9'
});

export const GLOBAL = {
Expand Down
2 changes: 1 addition & 1 deletion packages/json/lib/test-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import RedisJSON from '.';
export default new TestUtils({
dockerImageName: 'redislabs/rejson',
dockerImageVersionArgument: 'rejson-version',
defaultDockerVersion: '2.0.6'
defaultDockerVersion: '2.0.7'
});

export const GLOBAL = {
Expand Down
59 changes: 42 additions & 17 deletions packages/search/lib/commands/INFO.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,32 +15,56 @@ describe('INFO', () => {
await client.ft.create('index', {
field: SchemaFieldTypes.TEXT
});

assert.deepEqual(
await client.ft.info('index'),
{
indexName: 'index',
indexOptions: [],
indexDefinition: {
defaultScore: '1',
keyType: 'HASH',
prefixes: ['']
},
attributes: [[
'identifier',
'field',
'attribute',
'field',
'type',
'TEXT',
'WEIGHT',
'1'
]],
indexDefinition: Object.create(null, {
default_score: {
value: '1',
configurable: true,
enumerable: true
},
key_type: {
value: 'HASH',
configurable: true,
enumerable: true
},
prefixes: {
value: [''],
configurable: true,
enumerable: true
}
}),
attributes: [Object.create(null, {
identifier: {
value: 'field',
configurable: true,
enumerable: true
},
attribute: {
value: 'field',
configurable: true,
enumerable: true
},
type: {
value: 'TEXT',
configurable: true,
enumerable: true
},
WEIGHT: {
value: '1',
configurable: true,
enumerable: true
}
})],
numDocs: '0',
maxDocId: '0',
numTerms: '0',
numRecords: '0',
invertedSzMb: '0',
vectorIndexSzMb: '0',
totalInvertedIndexBlocks: '0',
offsetVectorsSzMb: '0',
docTableSizeMb: '0',
Expand All @@ -67,7 +91,8 @@ describe('INFO', () => {
globalTotal: 0,
indexCapacity: 128,
idnexTotal: 0
}
},
stopWords: undefined
}
);
}, GLOBAL.SERVERS.OPEN);
Expand Down
Loading

0 comments on commit 3304b5c

Please sign in to comment.