UmiJS test takes too long on docker #7633
Unanswered
pouyakondori
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What happens?
I am using docker and by running
umi test
command in the docker container, it takes too long for testing a single line jest test case. As I monitored bytop
on the terminal, by running theumi test
command, umi occupies the resources of the machine a lot and after some processes that I can't find a way to check its log, then it begins to test the file.Mini Showcase Repository(REQUIRED)
I pushed the
asb.test.ts
,docker-compose.yml
,package.json
files to this repo:Repo
We are using bitbucket and the thing which is wiered to us is that sometimes it takes one and half hour to run all 96 test files, and sometimes it takes 8 minutes. But on my computer it always takes same long time.
Does probably anyone else had this problem? and do you have any idea how to reduce this time? Or how to even find the log of this process?
Beta Was this translation helpful? Give feedback.
All reactions