-
Notifications
You must be signed in to change notification settings - Fork 8.5k
add FTR test for aborted requests error name #97086
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
add FTR test for aborted requests error name #97086
Conversation
|
Pinging @elastic/kibana-core (Team:Core) |
| abortController.abort(); | ||
|
|
||
| try { | ||
| await http.get('/api/core_http/never_reply', { signal: abortController.signal }); |
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.
does it even perform a request if you pass the aborted signal? Maybe we should call abort() after the request has been sent?
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.
The request object is created, but you're right, I'm not sure it goes further than readyState 0 when aborting before the call. In doubt, adapted in 86a6dd2
💚 Build SucceededMetrics [docs]
History
To update your PR or re-run it, just comment with: |
* add FTR test for aborted requests error name * delete unused file * wait for the request to fire before cancellation
Summary
Fix #51406
Checklist