mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[APM] Unskip get environment test (#188010)
Fixes [177305](https://github.com/elastic/kibana/issues/177305) ## Summary Another problem related to synthtrace not completing the creation of docs before the test case execution https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/6514
This commit is contained in:
parent
ce9cadf899
commit
976fed697d
2 changed files with 5 additions and 6 deletions
|
@ -63,5 +63,5 @@ export async function generateData({
|
|||
return [...loopGeneratedDocs, customDoc];
|
||||
});
|
||||
|
||||
await apmSynthtraceEsClient.index(docs);
|
||||
return apmSynthtraceEsClient.index(docs);
|
||||
}
|
||||
|
|
|
@ -19,15 +19,14 @@ export default function environmentsAPITests({ getService }: FtrProviderContext)
|
|||
const apmApiClient = getService('apmApiClient');
|
||||
const apmSynthtraceEsClient = getService('apmSynthtraceEsClient');
|
||||
|
||||
// FLAKY: https://github.com/elastic/kibana/issues/177305
|
||||
registry.when('environments when data is loaded', { config: 'basic', archives: [] }, async () => {
|
||||
before(async () => {
|
||||
await generateData({
|
||||
before(async () =>
|
||||
generateData({
|
||||
apmSynthtraceEsClient,
|
||||
start: startNumber,
|
||||
end: endNumber,
|
||||
});
|
||||
});
|
||||
})
|
||||
);
|
||||
|
||||
after(() => apmSynthtraceEsClient.clean());
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue