feat: wrapper to a single entrypoint to the stress test
This commit is contained in:
parent
7794b91d20
commit
722a3d2853
4 changed files with 34 additions and 10 deletions
7
test/stress/test-server.js
Normal file
7
test/stress/test-server.js
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
const cmd = require('./scripts')
|
||||
|
||||
process.on('message', async (msg) => {
|
||||
console.log('Message from parent:', msg)
|
||||
|
||||
await cmd.execCommand(`node --prof ../../bin/lamassu-server --mockSms --testDB`)
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue