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

eunit test to assert ddoc_updated clause doesn't throw #4495

Merged
merged 2 commits into from
Mar 24, 2023

Conversation

rnewson
Copy link
Member

@rnewson rnewson commented Mar 23, 2023

We pass in a shard name that doesn't exist, causing couch_util:with_db to throw.
we assert that we get back {ok, St} and don't crash.

@nickva
Copy link
Contributor

nickva commented Mar 23, 2023

A PR to add a bit more coverage to the tests #4496

rnewson and others added 2 commits March 24, 2023 10:32
We pass in a shard name that doesn't exist, causing couch_util:with_db to throw.
we assert that we get back {ok, St} and don't crash.
Fail index opens in a few different ways and assert async_error is called.

Also crash an index process after it's open to test it doesn't take down any
index servers.
@rnewson rnewson merged commit 35b1adc into main Mar 24, 2023
@rnewson rnewson deleted the add_db_event_crash_test branch March 24, 2023 11:26
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.

None yet

2 participants