projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
testing
[awesomized/libmemcached]
/
test
/
tests
/
memcached
/
regression
/
lp_000-490-486.cpp
diff --git
a/test/tests/memcached/regression/lp_000-490-486.cpp
b/test/tests/memcached/regression/lp_000-490-486.cpp
index 1731d2d03b1c094e6906dd954f4833979005cbcd..5ec317932285e8994c323043b258010a9d957da5 100644
(file)
--- a/
test/tests/memcached/regression/lp_000-490-486.cpp
+++ b/
test/tests/memcached/regression/lp_000-490-486.cpp
@@
-1,15
+1,9
@@
#include "test/lib/common.hpp"
#include "test/lib/MemcachedCluster.hpp"
#include "test/lib/common.hpp"
#include "test/lib/MemcachedCluster.hpp"
+#include "test/fixtures/callbacks.hpp"
#define NUM_KEYS 20480U
#define NUM_KEYS 20480U
-static memcached_return_t callback_counter(const memcached_st *, memcached_result_st *, void *context) {
- auto *counter= reinterpret_cast<size_t *>(context);
- *counter = *counter + 1;
-
- return MEMCACHED_SUCCESS;
-}
-
TEST_CASE("memcached_regression_lp490486") {
MemcachedCluster test{Cluster{Server{MEMCACHED_BINARY, {"-p", random_port_string}}, 1}};
auto memc = &test.memc;
TEST_CASE("memcached_regression_lp490486") {
MemcachedCluster test{Cluster{Server{MEMCACHED_BINARY, {"-p", random_port_string}}, 1}};
auto memc = &test.memc;