Skip to content

Commit

Permalink
- fix for the following test failures:
Browse files Browse the repository at this point in the history
```
Test Failures
[job] [logs] Jest Integration Tests #5 / checking migration metadata changes on all registered SO types detecting migration related changes in registered types
[job] [logs] Jest Integration Tests elastic#6 / incompatible_cluster_routing_allocation retries the INIT action with a descriptive message when cluster settings are incompatible
[job] [logs] Jest Integration Tests elastic#6 / migrating from 7.3.0-xpack which used v1 migrations copies all the document of the previous index to the new one
[job] [logs] Jest Integration Tests elastic#6 / migrating from 7.3.0-xpack which used v1 migrations creates the new index and the correct aliases
[job] [logs] Jest Integration Tests elastic#6 / migrating from 7.3.0-xpack which used v1 migrations migrates the documents to the highest version
[job] [logs] Jest Integration Tests elastic#6 / migration v2 - read batch size does not reduce the read batchSize in half if no batches exceeded maxReadBatchSizeBytes
[job] [logs] Jest Integration Tests elastic#6 / migration v2 - read batch size reduces the read batchSize in half if a batch exceeds maxReadBatchSizeBytes
[job] [logs] Jest Integration Tests #5 / migration v2 fails with a descriptive message when maxBatchSizeBytes exceeds ES http.max_content_length
[job] [logs] Jest Integration Tests #5 / migration v2 with corrupt saved object documents collects corrupt saved object documents across batches
[job] [logs] Jest Integration Tests elastic#6 / SO default search fields make sure management types have the correct mappings for default search fields
[job] [logs] Jest Integration Tests elastic#6 / SO type registrations does not remove types from registrations without updating excludeOnUpgradeQuery
[job] [logs] Jest Integration Tests #4 / split .kibana index into multiple system indices when migrating from a legacy version performs v1 migration and then relocates saved objects into different indices, depending on their types
[job] [logs] Jest Integration Tests #4 / split .kibana index into multiple system indices when multiple Kibana migrators run in parallel correctly migrates 7.7.2_xpack_100k_obj.zip archive
[job] [logs] Jest Integration Tests elastic#6 / when splitting .kibana into multiple indices and one clone fails after resolving the problem and retrying the migration completes successfully
```
  • Loading branch information
andrew-goldstein committed Aug 26, 2023
1 parent 68d865d commit 818fc1a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/kbn-test/jest_integration_node/jest-preset.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ module.exports = {
testPathIgnorePatterns: preset.testPathIgnorePatterns.filter(
(pattern) => !pattern.includes('integration_tests')
),
// An array of regexp pattern strings that are matched against, matched files will skip transformation:
transformIgnorePatterns: [
// since ESM modules are not natively supported in Jest yet (https:/facebook/jest/issues/4842)
'[/\\\\]node_modules(?![\\/\\\\](langchain))[/\\\\].+\\.js$',
],
setupFilesAfterEnv: [
'<rootDir>/packages/kbn-test/src/jest/setup/after_env.integration.js',
'<rootDir>/packages/kbn-test/src/jest/setup/mocks.moment_timezone.js',
Expand Down

0 comments on commit 818fc1a

Please sign in to comment.