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

Dispose LiteDb storage in IntegrationTest #112

Closed
adatzer opened this issue Jul 3, 2021 · 0 comments
Closed

Dispose LiteDb storage in IntegrationTest #112

adatzer opened this issue Jul 3, 2021 · 0 comments
Milestone

Comments

@adatzer
Copy link

adatzer commented Jul 3, 2021

It may be the case that, because of the IntegrationTest not disposing the LiteDb storage of its testTracker testMethod:

  1. the test fails if the test suite is run consequently a second time.
  2. the file integration_test-log.db, which is automatically created by LiteDb (v5) does not get deleted as it should. As mentioned in this issue, in v5 LiteDB there is a -log file created for the transactions, which is then removed by Dispose(). If also related, seems that this line can then be removed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants