[UA] fix flaky test (#146351)

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Closes https://github.com/elastic/kibana/issues/144885
This commit is contained in:
Ahmad Bamieh 2022-11-28 18:52:15 +02:00 committed by GitHub
parent 3a6825cf47
commit ab8dd04073
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 5 deletions

View file

@ -20,10 +20,8 @@ export default function upgradeAssistantFunctionalTests({
const security = getService('security');
const log = getService('log');
// FLAKY: https://github.com/elastic/kibana/issues/144885
describe.skip('Deprecation pages', function () {
describe('Deprecation pages', function () {
this.tags('skipFirefox');
this.timeout(32000);
before(async () => {
await security.testUser.setRoles(['superuser']);
@ -64,7 +62,7 @@ export default function upgradeAssistantFunctionalTests({
});
// Wait for the cluster settings to be reflected to the ES nodes
await setTimeout(30000);
await setTimeout(12000);
} catch (e) {
log.debug('[Setup error] Error updating cluster settings');
throw e;

View file

@ -36,7 +36,11 @@ export default async function ({ readConfigFile }) {
esTestCluster: {
license: 'trial',
from: 'snapshot',
serverArgs: ['path.repo=/tmp/', 'xpack.security.authc.api_key.enabled=true'],
serverArgs: [
'path.repo=/tmp/',
'xpack.security.authc.api_key.enabled=true',
'cluster.routing.allocation.disk.threshold_enabled=true', // make sure disk thresholds are enabled for UA cluster testing
],
},
kbnTestServer: {