-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add thread-safe mock sink for testing (#68)
A common error in test code is to use a racy Store or Sink implementation and the existing MockSink cannot be used in a thread-safe manner by consumers of this library. This PR adds a thread-safe Sink implementation that can be used with the existing Store code. Additionally, the Sink has helper methods to make testing easier.
- Loading branch information
1 parent
2f3ea18
commit 62bb3d8
Showing
6 changed files
with
606 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.