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

Ignores :not_found error when reseting InMemory store #354

Merged
merged 2 commits into from
Apr 30, 2020

Conversation

naps62
Copy link
Contributor

@naps62 naps62 commented Mar 10, 2020

I'm not sure if this is just a problem in our codebase, or if it should also be handled here in some way, so opening the discussion.

After getting our commanded 1.0 upgrade ready, we're having a few sporading build errors because InMemory.reset! sometimes fails with {:error, :not_found}.
We believe this is caused when somehow a handler ends up stopping when cleaning up the test, but before the reset call is made. Since this only affects the clean-up part of a test, I feel it should be safe to ignore this particular error

@slashdotdash slashdotdash merged commit 58e6cc2 into commanded:master Apr 30, 2020
@slashdotdash slashdotdash changed the title Ignores :not_found when reseting InMemory store Ignores :not_found error when reseting InMemory store Apr 30, 2020
slashdotdash added a commit that referenced this pull request Apr 30, 2020
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

Successfully merging this pull request may close these issues.

2 participants