Last active
October 1, 2015 22:19
-
-
Save trane/5cbc28552d8d4e071ab0 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| import com.twitter.finagle.memcached | |
| case object FailingMock extends memcached.MockClient { | |
| override def add(key: String, flags: Int, expiry: Time, value: Buf): Future[Boolean] = | |
| Future.exception(new Exception("oopsie")) | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment