diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 05047214ee9da30ac3c550f53ebddd6d4a9842dc..b9ba7b8074fe4ccc43b358dd55f552fb1a9dfe90 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -51,7 +51,7 @@ test:async:
    - npm start &
    - curl http://localhost:3000
    - sleep 5
-   - curl http://localhost:3000/db/groups
+   - pkill node
   tags:
    - server
 
@@ -59,7 +59,6 @@ deploy_staging:
   stage: deploy
   script:
     - npm start &
-    - sleep 30
   environment:
     name: staging
     url: http://129.104.210.10:3000