diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 2fedd1372c725ad830946cd6c4a2b4f950a3b2b4..993501f429b37400941004aa77bc8bd2828d239e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -50,8 +50,8 @@ test:async:
   stage: test
   script:
    - npm start &
+   - sleep 5
    - curl http://localhost:3000
-   - sleep 10
    - pkill node
    - exit 0
   tags: