-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
finagle/finagle-memcached: Fix support for testing with external memc…
…ached Problem External memcached tests could not run because we were checking for an address in use with an incorrect exception string match. There were also bugs in the external memcached tests. Solution Fix the issues above and add a README for how to run tests with external memcached. Differential Revision: https://phabricator.twitter.biz/D1178243
- Loading branch information
Showing
8 changed files
with
199 additions
and
136 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
To run the memcached tests against a real memcached server: | ||
|
||
1. Ensure you have a Memcached installation. If not, you can install it with: | ||
|
||
$ brew install memcached | ||
|
||
2. Take note of the path where memcached is now installed: | ||
|
||
$ which memcached | ||
|
||
3. Run the memcached tests with the jvm flag EXTERNAL_MEMCACHED_PATH=<path>. For example, if you | ||
are using bazel: | ||
|
||
$ ./bazel test --test_arg=--jvm_flags="-DEXTERNAL_MEMCACHED_PATH=<path>" \ | ||
finagle/finagle-memcached/src/test/scala:scala |
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
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
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.