projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
testing: attempt to speedup freebsd build
[awesomized/libmemcached]
/
test
/
lib
/
Cluster.cpp
diff --git
a/test/lib/Cluster.cpp
b/test/lib/Cluster.cpp
index e32f0fc328fd1724e0384553e288090a2d28d676..4fcdb47bcbc358e94664f4dc3fe07fc19706dbbd 100644
(file)
--- a/
test/lib/Cluster.cpp
+++ b/
test/lib/Cluster.cpp
@@
-112,3
+112,9
@@
void Cluster::wait() {
}
}
}
+
+bool Cluster::restart() {
+ stop();
+ wait();
+ return start();
+}