2020-07-07 16:53:47 +02:00
|
|
|
/*
|
|
|
|
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
2021-02-04 03:12:39 +01:00
|
|
|
* or more contributor license agreements. Licensed under the Elastic License
|
|
|
|
* 2.0; you may not use this file except in compliance with the Elastic License
|
|
|
|
* 2.0.
|
2020-07-07 16:53:47 +02:00
|
|
|
*/
|
|
|
|
|
2021-05-17 18:51:53 +02:00
|
|
|
import { FtrConfigProviderContext } from '@kbn/test';
|
2020-07-07 16:53:47 +02:00
|
|
|
import { testRunner } from './runner';
|
|
|
|
|
|
|
|
export default async function ({ readConfigFile }: FtrConfigProviderContext) {
|
|
|
|
const kibanaCommonTestsConfig = await readConfigFile(
|
|
|
|
require.resolve('../../../test/common/config.js')
|
|
|
|
);
|
|
|
|
|
|
|
|
return {
|
|
|
|
...kibanaCommonTestsConfig.getAll(),
|
|
|
|
|
|
|
|
testRunner,
|
|
|
|
|
|
|
|
esTestCluster: {
|
|
|
|
license: 'trial',
|
|
|
|
from: 'snapshot',
|
|
|
|
serverArgs: ['path.repo=/tmp/'],
|
|
|
|
},
|
|
|
|
|
|
|
|
kbnTestServer: {
|
|
|
|
...kibanaCommonTestsConfig.get('kbnTestServer'),
|
2021-10-17 17:54:30 +02:00
|
|
|
serverArgs: [...kibanaCommonTestsConfig.get('kbnTestServer.serverArgs')],
|
2020-07-07 16:53:47 +02:00
|
|
|
},
|
|
|
|
};
|
|
|
|
}
|