-
Notifications
You must be signed in to change notification settings - Fork 8.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[KP] Fix Headers timeout issue #81140
[KP] Fix Headers timeout issue #81140
Conversation
Pinging @elastic/kibana-platform (Team:Platform) |
await performRequest(); | ||
const defaultHeadersTimeout = 40_000; | ||
await delay(defaultHeadersTimeout + oneSec); | ||
await performRequest(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are no assertions in the test, the test is ensuring that the calls to performRequest
do not fails du to the fix, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes
@@ -50,6 +50,8 @@ configService.atPath.mockReturnValue( | |||
allowFromAnyIp: true, | |||
ipAllowlist: [], | |||
}, | |||
keepaliveTimeout: 120_000, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TIL about https://v8.dev/features/numeric-separators. Very nice!
}); | ||
} | ||
|
||
await performRequest(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Your test code makes my original recreation look like 💩.
* temp fix request headers bug. issue 73849 * add a focused test * move test to FTR * adjust types * some minors * small adjustments
* temp fix request headers bug. issue 73849 * add a focused test * move test to FTR * adjust types * some minors * small adjustments
* master: (63 commits) [KP] Fix Headers timeout issue (elastic#81140) [ML] Functional tests - stabilize typing with checks service method (elastic#81338) tabify - support docs (elastic#80351) [Security Solution][Detections] Look-back time logic fix (elastic#81383) [Workplace Search] Add top-level tests for Groups (elastic#81215) [Fleet] Fix agent action observable for long polling (elastic#81376) [Maps] fix feature tooltip remains open when zoom level change hides layer (elastic#81373) skip flaky suite (elastic#78689) chore(NA): add spec-to-console and plugin-helpers as devOnly dependencies (elastic#81357) Ensure some data is returned (elastic#81375) Change dumb-init to tini (elastic#81126) [Reporting/Tech Debt] Convert PdfMaker class to TypeScript (elastic#81242) Use Storybook Controls instead of Knobs (elastic#80705) [junit] make sure that report paths are unique (elastic#81255) bump elastic/elasticsearch-js version to 7.10.0-rc1 (elastic#81288) run ssl tests on CI (elastic#81320) Fix alert defaults (elastic#81207) [ML] DF Analytics wizard: ensure user can set mml manually or select to use given estimate (elastic#81078) Add UI notifier to indicate secret fields and to remember / reenter values (elastic#80657) [Monitoring] Use async/await (elastic#81200) ...
This fix made it into the 7.10.0 release, updating the labels/description accordingly. |
💔 Build Failed
Failed CI StepsTest FailuresX-Pack API Integration Tests.x-pack/test/api_integration/apis/management/rollup/rollup·js.apis management rollup jobs Index patterns should return the date, numeric and keyword fields when an index pattern matches indicesStandard Out
Stack Trace
Chrome UI Functional Tests.test/functional/apps/discover/_doc_table·ts.discover app discover doc table add and remove columns should remove columns from the tableStandard Out
Stack Trace
Chrome UI Functional Tests.test/functional/apps/getting_started/_shakespeare·js.Getting Started Shakespeare should configure Terms aggregation on play_nameStandard Out
Stack Trace
Metrics [docs]Saved Objects .kibana field count
History
To update your PR or re-run it, just comment with: |
Summary
Temporary workaround for #73849 will be released in
v7.10.0
#73849 (comment) until #61587 is merged and released in v7.11.0Checklist
For maintainers