Skip to content

Break up test suite further for CircleCI - #963

Merged
kronosapiens merged 2 commits into
developfrom
feat/circle-split-tests
Jun 3, 2021
Merged

Break up test suite further for CircleCI#963
kronosapiens merged 2 commits into
developfrom
feat/circle-split-tests

Conversation

@area

@area area commented Jun 3, 2021

Copy link
Copy Markdown
Member

While working on #962, ended up running in to this error. Slightly misleadingly, it's not strictly a lack of space, but a lack of inodes that it's running into, because ganache has a very file-generation-intensive way of running a blockchain.

Ordinarily, you fix this by just increasing the inode limit, but because these jobs run inside a docker container, which inherits the inode limit from the host, that's not an option for us as we don't have access to the host. Instead, we just have to manage the generation of these files.

This PR explicitly tells ganache where to put those files, and in some cases on Circle deletes them between suites of tests (the non-coverage tests) and in other cases I've simply split the tests up in to separate jobs (the coverage tests).

@kronosapiens
kronosapiens merged commit 794536c into develop Jun 3, 2021
@kronosapiens
kronosapiens deleted the feat/circle-split-tests branch June 3, 2021 21:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants