-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows+WSL2: npm
process is very slow in Docker Compose
#83
Comments
Between Jest having written "Ran all the tests", and it returning the process to npm is where there's a WEIRD 30+ s pause on Windows+WSL2. It does eventually return. Likely some timeout within Jest, but which??? Docker Desktop for Windows 4.0.1 Work-around for now: increased warm-up timeout to 2 min in DC.
|
npm
process does not return in Docker Composenpm
process is very slow in Docker Compose
There still is the strange pause (
..seems to start warm-up normally.
What goes on within that 3 min?
Note: This only affects cold starts (all Docker containers are down). |
|
The strange behaviour still seems to be there, though the above instructions no longer apply for reproduction. Looks like a Jest exit timeout. (Jest 29.3.0) |
Adding |
The Jest issue is this. Complex. The current gut feeling is, it has to do with Immediate work-around Adding |
Preparation:
npm install
in the root and ´packages/backend`backend/docker-compose.yml
, after the warm-up npm command:Steps:
packages/backend
:Expectation:
Actual:
This means
warmed-up
times out,npm test
doesn't work etc.Docker Desktop for Windows 4.0.1
The text was updated successfully, but these errors were encountered: