-
-
Notifications
You must be signed in to change notification settings - Fork 81
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
Test cases run out of memory #221
Comments
As we don't pay for CircleCI we can not increase resources. We could enforce a queue via the workflows. So certain tests have to pass first before other tests are run. It would increase the running-time, though, but that is fine for me. |
On second thought. I think that every test runs in its own virtual machine. Limiting the parallelism of the tests would not increase resources for one specific test, as every virtual machine has the same amount of resources. Maybe we have to improve our tests. |
Ok, I‘ll watch which tests are affected and report back here when I‘ve identified the culprit. |
I've moved the integration tests into a different directory and they are now run at a different IC stage with limited workers. |
The memory problems have returned, so I'm reopening this issue... I've played around with this and using However, I've been unsuccessful so far in finding the cause of this. Even a very simple test like Because of this, I suspect that the leak is (not necessarily) in our code but caused by Jest. A very similar issue is discussed (here)[https://github.com/jestjs/jest/issues/7874] but it seems unresolved. I would still not rule it out that there might also be a memory leak in our code, though. Temporarily, this problem might be adressed by restricted the parallelism of the tests further (see PR) |
The test cases in CI run out of memory regularly. This might be because of the "integration" tests that use all the hub examples. If these tests are run in parallel, it will use a lot of memory. We should either increase the resources of the test runners or think of a way of limiting the parallelism of tests.
The text was updated successfully, but these errors were encountered: