fix benchmark script

This commit is contained in:
Torma Kristóf 2019-11-10 20:49:36 +01:00
parent 243273cc5b
commit 82a94ae01e
Signed by: tormakris
GPG Key ID: DC83C4F2C41B1047

View File

@ -21,7 +21,7 @@ if [[ $HEY_INSTALLED == "" ]]; then
fi fi
LOADTEST_INSTALLED=$(command -v loadtest) LOADTEST_INSTALLED=$(command -v loadtest)
if [[ LOADTEST_INSTALLED == "" ]]; then if [[ $LOADTEST_INSTALLED == "" ]]; then
apt update apt update
apt install -y nodejs npm apt install -y nodejs npm
npm i -g loadtest npm i -g loadtest