Amélioration du temps d'indexation #46
Annotations
7 errors and 1 warning
Perform indexation › index sirene data:
src/commands/__tests__/index.integration.ts#L75
expect(received).toEqual(expected) // deep equality
Expected: 3999
Received: 0
at commands/__tests__/index.integration.ts:75:39
|
Perform indexation › index siret data:
src/commands/__tests__/index.integration.ts#L111
expect(received).toEqual(expected) // deep equality
Expected: 297
Received: 0
at commands/__tests__/index.integration.ts:111:39
|
bulkIndexByChunks › Should immediately send a request if body size is less than CHUNK_SIZE:
src/indexation/__tests__/bulkIndex.test.ts#L44
expect(jest.fn()).toHaveBeenCalledTimes(expected)
Expected number of calls: 1
Received number of calls: 0
at indexation/__tests__/bulkIndex.test.ts:44:26
at fulfilled (indexation/__tests__/bulkIndex.test.ts:5:58)
|
bulkIndexByChunks › Should slice the body into chunks and send each as a separate request:
src/indexation/__tests__/bulkIndex.test.ts#L57
expect(jest.fn()).toHaveBeenCalledTimes(expected)
Expected number of calls: 2
Received number of calls: 0
at indexation/__tests__/bulkIndex.test.ts:57:26
at fulfilled (indexation/__tests__/bulkIndex.test.ts:5:58)
|
bulkIndexByChunks › Should call dataFormatterFn if it is a function:
src/indexation/__tests__/bulkIndex.test.ts#L80
expect(jest.fn()).toHaveBeenCalled()
Expected number of calls: >= 1
Received number of calls: 0
at indexation/__tests__/bulkIndex.test.ts:80:45
at fulfilled (indexation/__tests__/bulkIndex.test.ts:5:58)
|
bulkIndexByChunks › Should wait for all promises to resolve if there were concurrent requests:
src/indexation/__tests__/bulkIndex.test.ts#L95
expect(jest.fn()).toHaveBeenCalledTimes(expected)
Expected number of calls: 4
Received number of calls: 0
at indexation/__tests__/bulkIndex.test.ts:95:26
at fulfilled (indexation/__tests__/bulkIndex.test.ts:5:58)
|
search
Process completed with exit code 1.
|
search
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|