mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
Disable reporting for all "oss: false" integration tests (#107360)
* disable reporting for all the integration test with oss:false * unskip test
This commit is contained in:
parent
169d75ff9f
commit
3bd9ff361d
4 changed files with 12 additions and 14 deletions
|
@ -95,12 +95,6 @@ describe('migration v2', () => {
|
|||
},
|
||||
],
|
||||
},
|
||||
// reporting loads headless browser, that prevents nodejs process from exiting.
|
||||
xpack: {
|
||||
reporting: {
|
||||
enabled: false,
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
oss,
|
||||
|
|
|
@ -24,8 +24,7 @@ async function removeLogFile() {
|
|||
await unlink(logFilePath).catch(() => void 0);
|
||||
}
|
||||
|
||||
// FLAKY: https://github.com/elastic/kibana/issues/96895
|
||||
describe.skip('migration from 7.7.2-xpack with 100k objects', () => {
|
||||
describe('migration from 7.7.2-xpack with 100k objects', () => {
|
||||
let esServer: kbnTestServer.TestElasticsearchUtils;
|
||||
let root: Root;
|
||||
let coreStart: InternalCoreStart;
|
||||
|
|
|
@ -133,12 +133,6 @@ function createRoot() {
|
|||
},
|
||||
],
|
||||
},
|
||||
xpack: {
|
||||
reporting: {
|
||||
// browser install causes issues with Jest
|
||||
enabled: false,
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
oss: false,
|
||||
|
|
|
@ -105,6 +105,17 @@ export function createRootWithCorePlugins(settings = {}, cliArgs: Partial<CliArg
|
|||
username: kibanaServerTestUser.username,
|
||||
password: kibanaServerTestUser.password,
|
||||
},
|
||||
// createRootWithSettings sets default value to "true", so undefined should be threatened as "true".
|
||||
...(cliArgs.oss === false
|
||||
? {
|
||||
// reporting loads headless browser, that prevents nodejs process from exiting and causes test flakiness
|
||||
xpack: {
|
||||
reporting: {
|
||||
enabled: false,
|
||||
},
|
||||
},
|
||||
}
|
||||
: {}),
|
||||
};
|
||||
|
||||
return createRootWithSettings(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue