3scale / APIcast

3scale API Gateway
Apache License 2.0
305 stars 171 forks source link

spec: fix flaky timer based tests #1450

Closed tkan145 closed 5 months ago

tkan145 commented 7 months ago

Test commit

Set docker resource to replicate circleci

diff --git a/docker-compose-devel.yml b/docker-compose-devel.yml
index f1f9e927..ce20c55e 100644
--- a/docker-compose-devel.yml
+++ b/docker-compose-devel.yml
@@ -21,5 +21,13 @@ services:
       # https://github.com/jenkinsci/docker/issues/519#issuecomment-313052325
       GIT_COMMITTER_NAME: ${GIT_COMMITTER_NAME:-${USER}}
       GIT_COMMITTER_EMAIL: ${GIT_COMMITTER_EMAIL:-""}
+    deploy:
+      resources:
+        limits:
+          cpus: '0.03'
+          memory: 50M
+        reservations:
+          cpus: '0.02'
+          memory: 20M
   redis:
     image: redis