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

@ -6,10 +6,12 @@ node_js:
services:
- docker
cache:
npm: false
install:
- "bin/installDeps.sh"
- "export GIT_HASH=$(git rev-parse --verify --short HEAD)"
- "npm install ep_test_line_attrib"
before_script:
- "tests/frontend/travis/sauce_tunnel.sh"
@ -33,7 +35,6 @@ jobs:
install:
- "bin/installDeps.sh"
- "export GIT_HASH=$(git rev-parse --verify --short HEAD)"
- "npm install ep_test_line_attrib"
script:
- "tests/frontend/travis/runner.sh"
- name: "Test the Dockerfile"