From c6b584617276002a21dabe97e1f49d8be8f18cbc Mon Sep 17 00:00:00 2001 From: John McLear Date: Fri, 29 May 2020 13:26:34 +0100 Subject: [PATCH] tests: Fix backend testing which were always partially broken due to cache (#4053) --- .travis.yml | 1 + tests/frontend/travis/runnerBackend.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index d790a8c36..8c343d338 100644 --- a/.travis.yml +++ b/.travis.yml @@ -28,6 +28,7 @@ jobs: include: - name: "Run the Backend tests" install: + - "bin/installDeps.sh" - "cd src && npm install && cd -" script: - "tests/frontend/travis/runnerBackend.sh" diff --git a/tests/frontend/travis/runnerBackend.sh b/tests/frontend/travis/runnerBackend.sh index b63e11b32..3750dc4c8 100755 --- a/tests/frontend/travis/runnerBackend.sh +++ b/tests/frontend/travis/runnerBackend.sh @@ -29,7 +29,7 @@ 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" # Build the minified files? -curl http://localhost:9001/p/minifyme -f -s +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