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 timeout case clause in fabric_db_info #2351

Merged
merged 1 commit into from
Dec 10, 2019
Merged

Conversation

willholley
Copy link
Member

Overview

Unlike most other fabric_db_* message handlers, the accumulator
for fabric_db_info has 3 terms. When a rexi timeout occurs, it
returns {timeout, Accumulator}; the case clause handling this
needs to expect 3 terms in the Accumulator instead of 2.

Testing recommendations

I can't see a good precedent for testing this but I'm happy to add a test if somebody can point me to an example.

Related Issues or Pull Requests

Fixes #2350

Checklist

Unlike most other fabric_db_* message handlers, the accumulator
for fabric_db_info has 3 terms. When a rexi timeout occurs, it
returns `{timeout, Accumulator}`; the case clause handling this
needs to expect 3 terms in the Accumulator instead of 2.

Fixes #2350
@willholley willholley merged commit 897085c into master Dec 10, 2019
@willholley willholley deleted the 2530-all-dbs-timeout branch December 10, 2019 15:14
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.

case_clause error in _all_dbs
2 participants