Skip to content
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

tests: change some tests to no longer access the disk #1232

Merged
merged 6 commits into from
Jul 14, 2023
Merged

Conversation

rklaehn
Copy link
Contributor

@rklaehn rklaehn commented Jul 13, 2023

Description

Now that it is reasonably easy to work with in memory databases, adapt tests to run in memory where possible.

We must still have tests that access disk, but tests that are entirely unrelated to this should not touch the file system.

Note that the tests still use the iroh (name, hash) collections, just not write to disk.

Notes & open questions

Change checklist

  • Self-review.

Copy link
Contributor

@flub flub left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice!

@rklaehn rklaehn enabled auto-merge (squash) July 14, 2023 09:37
@rklaehn rklaehn merged commit 58d42ba into main Jul 14, 2023
14 checks passed
@dignifiedquire dignifiedquire deleted the mem-tests branch July 14, 2023 10:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

2 participants