mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
[ci] bump Jenkins worker memory and es JVM size (#111760)
Co-authored-by: spalger <spalger@users.noreply.github.com>
This commit is contained in:
parent
5e2511fc43
commit
de2cfd2e65
3 changed files with 5 additions and 4 deletions
|
@ -278,7 +278,8 @@ exports.Cluster = class Cluster {
|
|||
// especially because we currently run many instances of ES on the same machine during CI
|
||||
// inital and max must be the same, so we only need to check the max
|
||||
if (!esJavaOpts.includes('Xmx')) {
|
||||
esJavaOpts += ' -Xms1g -Xmx1g';
|
||||
// 1536m === 1.5g
|
||||
esJavaOpts += ' -Xms1536m -Xmx1536m';
|
||||
}
|
||||
|
||||
this._log.debug('ES_JAVA_OPTS: %s', esJavaOpts.trim());
|
||||
|
|
|
@ -368,7 +368,7 @@ describe('#run()', () => {
|
|||
const cluster = new Cluster({ log });
|
||||
await cluster.run();
|
||||
|
||||
expect(execa.mock.calls[0][2].env.ES_JAVA_OPTS).toEqual('-Xms1g -Xmx1g');
|
||||
expect(execa.mock.calls[0][2].env.ES_JAVA_OPTS).toMatchInlineSnapshot(`"-Xms1536m -Xmx1536m"`);
|
||||
});
|
||||
|
||||
it('allows Java heap to be overwritten', async () => {
|
||||
|
@ -378,7 +378,7 @@ describe('#run()', () => {
|
|||
const cluster = new Cluster({ log });
|
||||
await cluster.run();
|
||||
|
||||
expect(execa.mock.calls[0][2].env.ES_JAVA_OPTS).toEqual('-Xms5g -Xmx5g');
|
||||
expect(execa.mock.calls[0][2].env.ES_JAVA_OPTS).toMatchInlineSnapshot(`"-Xms5g -Xmx5g"`);
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@ def label(size) {
|
|||
case 'xl-highmem':
|
||||
return 'docker && tests-xl-highmem'
|
||||
case 'xxl':
|
||||
return 'docker && tests-xxl && gobld/machineType:custom-64-270336'
|
||||
return 'docker && tests-xxl && gobld/machineType:custom-64-327680'
|
||||
case 'n2-standard-16':
|
||||
return 'docker && linux && immutable && gobld/machineType:n2-standard-16'
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue