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

Feature/backend connection hooks #384

Merged
merged 4 commits into from
Feb 7, 2018
Merged

Conversation

redlicha
Copy link
Member

Infrastructure for backend tests that allows error injection / observation of behaviour by introducing a wrapper type that allows to install a hook to be invoked before performing the actual call.

Arne Redlich added 4 commits January 29, 2018 13:16
Not used by production code / the only remaining implementation was
offered by BackendType::LOCAL.
A wrapper around BackendConnectionInterface that allows to add hooks
to backend operations (before running the wrapped operation). Intended
as a utility for tests.
Convert this test to use the newly introduced connection
hooks (instead of generating errors by connecting to an inexistent
Alba proxy).
@redlicha redlicha merged commit d9b687e into dev Feb 7, 2018
@redlicha redlicha deleted the feature/backend-connection-hooks branch February 7, 2018 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants