[7.x] run the kibana server in production mode for functional testing (#31346) (#31444)

Backports the following commits to 7.x:
 - run the kibana server in production mode for functional testing  (#31346)
This commit is contained in:
Spencer 2019-02-18 14:56:22 -08:00 committed by GitHub
parent 1c297c8ce2
commit 49ceb63556
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -39,7 +39,6 @@ module.exports = function (grunt) {
args: [
...runBuild ? [] : [require.resolve('../../scripts/kibana'), '--oss'],
'--env.name=development',
'--logging.json=false',
...flags,
@ -57,6 +56,7 @@ module.exports = function (grunt) {
}
const browserTestServerFlags = [
'--env.name=development',
'--plugins.initialize=false',
'--optimize.bundleFilter=tests',
'--server.port=5610',

View file

@ -46,10 +46,10 @@ export default function () {
buildArgs: [ '--optimize.useBundleCache=true' ],
sourceArgs: [
'--no-base-path',
'--env.name=development',
`--optimize.bundleDir=${OPTIMIZE_BUNDLE_DIR}`,
],
serverArgs: [
'--env.name=development',
'--logging.json=false',
`--server.port=${kbnTestConfig.getPort()}`,
`--optimize.watchPort=${kbnTestConfig.getPort() + 10}`,