summaryrefslogtreecommitdiff
path: root/tests/failure.cc
diff options
context:
space:
mode:
authorBrian Aker <brian@tangent.org>2012-05-12 22:05:10 -0400
committerBrian Aker <brian@tangent.org>2012-05-12 22:05:10 -0400
commit23bbe3972dada1e21493437ba64be129e86b59fc (patch)
tree59879bf23b96b722d6c6a06564d45bef17bee54b /tests/failure.cc
parent74d72ecac00cadaab9e9a40d6591c7285abbfbc2 (diff)
downloadlibmemcached-23bbe3972dada1e21493437ba64be129e86b59fc.tar.gz
Catch up with Gearman's libtest
Diffstat (limited to 'tests/failure.cc')
-rw-r--r--tests/failure.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/failure.cc b/tests/failure.cc
index d31518ee..445de246 100644
--- a/tests/failure.cc
+++ b/tests/failure.cc
@@ -213,10 +213,10 @@ void get_world(Framework *world)
{
world->servers().set_servers_to_run(1);
- world->collections= collection;
+ world->collections(collection);
- world->_create= (test_callback_create_fn*)world_create;
- world->_destroy= (test_callback_destroy_fn*)world_destroy;
+ world->create((test_callback_create_fn*)world_create);
+ world->destroy((test_callback_destroy_fn*)world_destroy);
world->set_runner(new LibmemcachedRunner);