sixtyfour icon indicating copy to clipboard operation
sixtyfour copied to clipboard

Use parallel tests to speed up test suite

Open sckott opened this issue 11 months ago • 2 comments

https://testthat.r-lib.org/articles/parallel.html

Tests aren't particularly slow, but wouldnt hurt to be faster

sckott avatar Apr 09 '25 19:04 sckott

Necessarily means need to make sure there's no order of tests cases

sckott avatar Apr 09 '25 22:04 sckott

Tried this locally and ran into a lot of issues where errors happened randomly because we have a shared either local AWS like thing (localstack or minio) or remote (AWS) and we're adding/removing users/groups/etc. in different test files and those are running into each causing errors.

I tried a bit, but found it's too hard to reason about, and would take an unknown amount of careful work. Somehow we'd need to maybe namespace IAM and S3 stuff for each test file and then I think it would work, but not sure how to do that.

sckott avatar Apr 10 '25 16:04 sckott