[stress-tests] Fix typo when finding sysbench binary

We were erroneously looking for the sysbench2 binary.

While there unify naming and add direct links from the documentation
to each mentioned file.
nc-nginx-test
Evilham 2023-02-28 16:00:26 +01:00
parent c83c925734
commit 96e5ce8f33
No known key found for this signature in database
GPG Key ID: AE3EE30D970886BF
4 changed files with 17 additions and 10 deletions

View File

@ -11,11 +11,13 @@ This documents normalised stress-testing and references files under
## VM tests
- `vm-test.sh`: generate a text file to compare CPU and other factors across
VM types, providers or instances which may affect DD performance.
- `[vm-tests.sh][vm-tests.sh]`: generate a text file to compare CPU and other
factors across VM types, providers or instances which may affect DD
performance.
We can compare the resulting lgos just with, e.g. `vim -d`.
We can compare the resulting logs just with, e.g. `vim -d`.
[vm-tests.sh]: https://gitlab.com/DD-workspace/DD/-/tree/main/stress-tests/vm-tests.sh
## DD tests
@ -26,12 +28,17 @@ be interesting to expand them to interact with other services.
This directory contains following files:
- `dd-stress-test.tpl.jmx`: template to generate [JMeter][jm] tests to execute
- `dd-tests.sh`: helper script that generates the actual test plan files and
executes them. See `./dd-tests.sh --help`
- `dd-test-selenium.sh`: this gives us an idea of how a user would perceive
DD to be behaving while under load. Called by `./dd-tests.sh` by default.
- `[dd-stress-test.tpl.jmx][dd-stress-test.tpl.jmx]`: template to generate
[JMeter][jm] tests to execute
- `[dd-tests.sh][dd-tests.sh]`: helper script that generates the actual test
plan files and executes them. See `./dd-tests.sh --help`
- `[dd-tests-selenium.py][dd-tests-selenium.py]`: this gives us an idea of
how a user would perceive DD to be behaving while under load.
Called by `./dd-tests.sh` by default.
[dd-stress-test.tpl.jmx]: https://gitlab.com/DD-workspace/DD/-/tree/main/stress-tests/dd-stress-test.tpl.jmx
[dd-tests.sh]: https://gitlab.com/DD-workspace/DD/-/tree/main/stress-tests/dd-tests.sh
[dd-tests-selenium.py]: https://gitlab.com/DD-workspace/DD/-/tree/main/stress-tests/dd-tests-selenium.py
### Results

View File

@ -167,7 +167,7 @@ sed -E \
# Call Selenium test process in parallel
if [ "${USE_SELENIUM}" = "YES" ]; then
printf "\n\nRunning parallel Selenium-based tests:\t%s\tover %s seconds\n\n" "${DD_DOMAIN}" "${duration}"
python3 dd-test-selenium.py test --duration "${duration}" --out-dir "${out_dir}/selenium" "${DD_DOMAIN}" 2>&1 > "${out_dir}/selenium.log" &
python3 dd-tests-selenium.py test --duration "${duration}" --out-dir "${out_dir}/selenium" "${DD_DOMAIN}" 2>&1 > "${out_dir}/selenium.log" &
fi
# Execute test

View File

@ -2,7 +2,7 @@
LOG_FILE="${LOG_FILE:-vm-test.log}"
SYSBENCH="$(command -v sysbench2)"
SYSBENCH="$(command -v sysbench)"
# Save stderr as well
exec 2>&1