mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
[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:
parent
f4b1dd8a36
commit
bfee89091a
4 changed files with 1 additions and 9 deletions
|
@ -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
|
||||
],
|
||||
},
|
||||
|
||||
|
|
|
@ -54,8 +54,6 @@ export function getFunctionalTestGroupRunConfigs({ esFrom, kibanaInstallDir } =
|
|||
'--bail',
|
||||
'--debug',
|
||||
'--kibana-install-dir', kibanaInstallDir,
|
||||
'--',
|
||||
'--server.maxPayloadBytes=1648576',
|
||||
],
|
||||
}
|
||||
}), {}),
|
||||
|
|
|
@ -60,6 +60,7 @@ export default function () {
|
|||
`--elasticsearch.username=${servers.elasticsearch.username}`,
|
||||
`--elasticsearch.password=${servers.elasticsearch.password}`,
|
||||
`--kibana.disableWelcomeScreen=true`,
|
||||
`--server.maxPayloadBytes=1648576`,
|
||||
],
|
||||
},
|
||||
|
||||
|
|
|
@ -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);
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue