[ftr] move server.maxPayloadBytes config to central shared config (#31360)

* [ftr] move server.maxPayloadBytes config to central shared config

* remove unused variable
This commit is contained in:
Spencer 2019-02-17 18:00:07 -08:00 committed by GitHub
parent f4b1dd8a36
commit bfee89091a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 1 additions and 9 deletions

View file

@ -211,8 +211,6 @@ module.exports = function (grunt) {
'--bail',
'--debug',
'--kibana-install-dir', KIBANA_INSTALL_DIR,
'--',
'--server.maxPayloadBytes=1648576',
],
},
@ -224,8 +222,6 @@ module.exports = function (grunt) {
'--esFrom', esFrom,
'--bail',
'--debug',
'--',
'--server.maxPayloadBytes=1648576', //default is 1048576
],
},

View file

@ -54,8 +54,6 @@ export function getFunctionalTestGroupRunConfigs({ esFrom, kibanaInstallDir } =
'--bail',
'--debug',
'--kibana-install-dir', kibanaInstallDir,
'--',
'--server.maxPayloadBytes=1648576',
],
}
}), {}),

View file

@ -60,6 +60,7 @@ export default function () {
`--elasticsearch.username=${servers.elasticsearch.username}`,
`--elasticsearch.password=${servers.elasticsearch.password}`,
`--kibana.disableWelcomeScreen=true`,
`--server.maxPayloadBytes=1648576`,
],
},

View file

@ -21,7 +21,6 @@ import expect from 'expect.js';
export default function ({ getService, getPageObjects }) {
const esArchiver = getService('esArchiver');
const log = getService('log');
const PageObjects = getPageObjects(['common', 'home', 'settings']);
describe('test large number of fields', function () {
@ -35,8 +34,6 @@ export default function ({ getService, getPageObjects }) {
it('test_huge data should have expected number of fields', async function () {
const tabCount = await PageObjects.settings.getFieldsTabCount();
//default : maxPayloadBytes is 1048576
log.info('if there is a failure, start the server with "node scripts/functional_tests_server -- --server.maxPayloadBytes=1648576"');
expect(tabCount).to.be(EXPECTED_FIELD_COUNT);
});