tests: Resolve Gateway timeout during automated tests by adding delay after minify request

* Remove npm cache from Travis, this was causing a world of pain.
* Remove the broken line attribute tests.
* Do a HTTP get against Etherpad to begin minification.
* Wait 10 seconds after minification before running tests.
This commit is contained in:
John McLear 2020-05-29 12:28:31 +01:00 committed by GitHub
parent b92b8a66e1
commit d8e067a5f9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 51 additions and 46 deletions

View file

@ -28,8 +28,11 @@ 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"
# just in case, let's wait for another second before going on
sleep 1
# Build the minified files?
curl http://localhost:9001/p/minifyme -f -s
# 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