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

fix: handle db connection error #261

Merged
merged 2 commits into from
Jan 9, 2024
Merged

Conversation

yordis
Copy link
Contributor

@yordis yordis commented Nov 4, 2022

closes #260

.tool-versions Show resolved Hide resolved
@@ -4,6 +4,13 @@ defmodule EventStore.Storage.AppendEventsTest do
alias EventStore.{EventFactory, RecordedEvent, UUID}
alias EventStore.Storage.{Appender, CreateStream}

test "append single event with a db connection error" do
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not working, I need some help trying to test this thou, I am not sure what could I do to trigger the new branch

Copy link
Member

Choose a reason for hiding this comment

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

Test fixed in b0a5e02.

@slashdotdash
Copy link
Member

Closing this PR. It can be reopened with it is ready for merging,

@yordis
Copy link
Contributor Author

yordis commented Jan 8, 2024

Could you help me with the situation? I left it open in draft for visibility and hopefully get some help since you will remand a test case for it.
I would appreciate if you can help with a bit here

@slashdotdash slashdotdash reopened this Jan 9, 2024
@slashdotdash slashdotdash merged commit fe8fc41 into commanded:master Jan 9, 2024
slashdotdash added a commit that referenced this pull request Jan 9, 2024
@slashdotdash
Copy link
Member

Finished up the changes and merged into master branch in 07bb96f.

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.

no function clause matching in EventStore.Storage.Appender.handle_response/1
2 participants