tests: introduce automated load testing (#4066)

This commit is contained in:
John McLear 2020-05-30 18:51:14 +01:00 committed by GitHub
parent 5000997a9f
commit 66aff57d87
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 55 additions and 3 deletions

View file

@ -28,15 +28,15 @@ echo "Now I will try for 15 seconds to connect to Etherpad on http://localhost:9
echo "Successfully connected to Etherpad on http://localhost:9001"
# a copy of settings.json is necessary for the backend tests to work
cp settings.json.template settings.json
# Build the minified files?
curl http://localhost:9001/p/minifyme -f -s > /dev/null
# just in case, let's wait for another 10 seconds before going on
sleep 10
# a copy of settings.json is necessary for the backend tests to work
cp settings.json.template settings.json
# run the backend tests
echo "Now run the backend tests"
cd src