【发布时间】:2022-12-02 06:41:58
【问题描述】:
We use Bitbucket pipelines in our CI for testing, Our application is NestJS with Typescript tested with Jest.
We always got all tests running, however few days from now (2022 may) the tests are stuck after some suit, the suite where the test stuck is quite random.
The tests dont fail, we dont have any memory warning or anything else, it just is stucked on the pipeline. We need to stop the pipeline because it never stop.
Unfourtunately we dont any error for furgher investigation.
What could we do to inspect more details?
【问题讨论】:
-
Did you find a solution to this issue, we are facing the same problem.
-
I realized that jest is taking too much memory and cpu now ( and I don't know why ) and I think that's why it's getting stucked on BitBucket Pipelines. Unfortunately I didn't find a solution.
-
I didnt fixed it yet, but i'm running one test at time and it kind of "solve" the problema bit it takes 10 times the time into the pipeline
标签: jestjs bitbucket nestjs bitbucket-pipelines ts-jest