mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 01:13:23 -04:00
[RAM] need to return the async id to avoid new request (#145731)
## Summary Fix: https://github.com/elastic/kibana/issues/129219 & https://github.com/elastic/kibana/issues/144619 ### Checklist - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
bf7c3bc502
commit
58a374799b
2 changed files with 6 additions and 4 deletions
|
@ -137,7 +137,11 @@ export const ruleRegistrySearchStrategyProvider = (
|
|||
query,
|
||||
},
|
||||
};
|
||||
return (siemRequest ? requestUserEs : internalUserEs).search({ params }, options, deps);
|
||||
return (siemRequest ? requestUserEs : internalUserEs).search(
|
||||
{ id: request.id, params },
|
||||
options,
|
||||
deps
|
||||
);
|
||||
}),
|
||||
map((response) => {
|
||||
// Do we have to loop over each hit? Yes.
|
||||
|
|
|
@ -43,9 +43,7 @@ export default ({ getService }: FtrProviderContext) => {
|
|||
|
||||
const SPACE1 = 'space1';
|
||||
|
||||
// Failing: See https://github.com/elastic/kibana/issues/129219
|
||||
// Failing: See https://github.com/elastic/kibana/issues/129219
|
||||
describe.skip('ruleRegistryAlertsSearchStrategy', () => {
|
||||
describe('ruleRegistryAlertsSearchStrategy', () => {
|
||||
let kibanaVersion: string;
|
||||
before(async () => {
|
||||
kibanaVersion = await kbnClient.version.get();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue