mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Dzmitry Lemechko <dzmitry.lemechko@elastic.co>
This commit is contained in:
parent
72359d39ea
commit
f5a7989396
1 changed files with 13 additions and 9 deletions
|
@ -57,16 +57,20 @@ export async function GatlingTestRunner({ getService }: FtrProviderContext) {
|
|||
const log = getService('log');
|
||||
|
||||
await withProcRunner(log, async (procs) => {
|
||||
await procs.run('node build/index.js', {
|
||||
cmd: 'node',
|
||||
args: ['build/index.js'],
|
||||
cwd: puppeteerProjectRootPath,
|
||||
env: {
|
||||
...process.env,
|
||||
},
|
||||
wait: true,
|
||||
});
|
||||
for (let i = 0; i < simulationClasses.length; i++) {
|
||||
await procs.run('node build/index.js', {
|
||||
cmd: 'node',
|
||||
args: [
|
||||
'build/index.js',
|
||||
`--simulation='${simulationClasses[i]}'`,
|
||||
`--config='./config.json'`,
|
||||
],
|
||||
cwd: puppeteerProjectRootPath,
|
||||
env: {
|
||||
...process.env,
|
||||
},
|
||||
wait: true,
|
||||
});
|
||||
await procs.run('gatling: test', {
|
||||
cmd: 'mvn',
|
||||
args: [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue