Skip to content

Commit f2aa02b

Browse files
authored
Disable spring (#111)
Context When running Pender from the main repo, and the running tests, tests would hang. What I mean by hang: - If you run one or multiple tests, - the run finishes, - when you try to run another tests, it just hangs there and doesn’t print anything or return any information Issue This seems to be caused by a failure to connect to the Spring server. I think this might be a combination of how spring, the sockets it uses, our mount bind, the way we have this set up so we have can run from both check and Pender (so we have two docker-composes), and maybe docker-mac issues. Fixing this I tried setting the SPRING_SOCKET and SPRING_TMP_PATH, but couldn't get it to work. Since trying to fix this is taking too long (it can take too long between builds), and it isn't a big deal to just remove this, I disabled Spring from the main Check repo. It is still enabled when running tests from the Pender repo. References: CV2-6431 Relates to: meedan/pender#593
1 parent 05dd253 commit f2aa02b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ services:
145145
DEPLOY_ENV: local
146146
RAILS_ENV: development
147147
SERVER_PORT: 3200
148+
DISABLE_SPRING: 1
148149
networks:
149150
- dev
150151
pender-background:

0 commit comments

Comments
 (0)