Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
592 changes: 577 additions & 15 deletions oas_docs/package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion oas_docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"dependencies": {
"bump-cli": "^2.8.4",
"@redocly/cli": "^1.29.0"
"@redocly/cli": "^1.32.0"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -1541,7 +1541,7 @@
"@parcel/watcher": "^2.1.0",
"@playwright/test": "1.49.0",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.15",
"@redocly/cli": "^1.29.0",
"@redocly/cli": "^1.32.0",
"@statoscope/webpack-plugin": "^5.28.2",
"@storybook/addon-a11y": "^8.6.3",
"@storybook/addon-actions": "^8.6.3",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,12 @@

module.exports = {
bail: true, // only report 1 issue
// TODO replace the line below with
// preset: '@kbn/test/jest_integration_node
// TODO remove the line below once we've addressed all the open handles
// We stop the server very soon, and plugins installing (and retrying indices) might keep Kibana running until a timeout occurs.
// to do so, we must fix all integration tests first
// see https://github.com/elastic/kibana/pull/130255/
preset: '@kbn/test/jest_integration',
forceExit: true,
preset: '@kbn/test/jest_integration_node',
rootDir: '../../../../..',
roots: ['<rootDir>/src/core/server/integration_tests/ci_checks'],
// must override to match all test given there is no `integration_tests` subfolder
Expand Down
3 changes: 2 additions & 1 deletion src/platform/packages/shared/kbn-es/src/cluster.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import * as path from 'path';
import execa from 'execa';
import { Readable } from 'stream';
import { combineLatest, fromEvent, first } from 'rxjs';
import { Client } from '@elastic/elasticsearch';
import { Client, HttpConnection } from '@elastic/elasticsearch';
import { promisify } from 'util';
import { CA_CERT_PATH, ES_NOPASSWORD_P12_PATH, extract } from '@kbn/dev-utils';
import { ToolingLog } from '@kbn/tooling-log';
Expand Down Expand Up @@ -422,6 +422,7 @@ export class Cluster {
username: 'elastic',
password: options.password!,
},
Connection: HttpConnection,
tls: caCert
? {
ca: caCert,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ module.exports = {
// 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://github.com/facebook/jest/issues/4842)
'[/\\\\]node_modules(?![\\/\\\\](langchain|langsmith|gpt-tokenizer|flat|@langchain))[/\\\\].+\\.js$',
'[/\\\\]node_modules(?![\\/\\\\](langchain|langsmith|gpt-tokenizer|flat|@langchain|eventsource-parser))[/\\\\].+\\.js$',
'[/\\\\]node_modules(?![\\/\\\\](langchain|langsmith|@langchain))/dist/[/\\\\].+\\.js$',
'[/\\\\]node_modules(?![\\/\\\\](langchain|langsmith|@langchain))/dist/util/[/\\\\].+\\.js$',
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,8 @@ if (!Object.hasOwn(global, 'Worker')) {
});
}
}

// @elastic/elasticsearch imports undici that requires on MessagePort (even when unused in the tests)
if (!Object.hasOwn(global, 'MessagePort')) {
global.MessagePort = {};
}
215 changes: 138 additions & 77 deletions yarn.lock

Large diffs are not rendered by default.